VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Friends
DtLuaEmbarkationSlotQueryJob Class Reference

Lua object class which represents a query for embarkation slot info.

Inheritance diagram for DtLuaEmbarkationSlotQueryJob:
Inheritance graph
[legend]

Public Types

typedef std::vector< DtLocation3D > Points
 

Public Member Functions

 DtLuaEmbarkationSlotQueryJob ()
 
virtual ~DtLuaEmbarkationSlotQueryJob () override
 
virtual luabind::object getObject (lua_State *L, int &index, std::string &message) override
 
virtual luabind::object getDebugObject (lua_State *L) override
 
virtual void cancel (lua_State *L) override
 
virtual void processResponse (DtSimMessage *msg)
 
virtual DtString serialize () override
 
virtual bool deserialize (const DtString &) override
 
virtual DtString objectType () const override
 
std::shared_ptr
< DtLuaEmbarkationSlotQueryJob > 
shared_from_this ()
 
std::shared_ptr< const
DtLuaEmbarkationSlotQueryJob > 
shared_from_this () const
 
- Public Member Functions inherited from DtLuaAsyncJob
virtual void init (void *userData) override
 
virtual void setOwningObject (DtLocalObject *owningObject)
 
- Public Member Functions inherited from DtAsciiSerializable
 DtAsciiSerializable ()
 
 DtAsciiSerializable (const DtAsciiSerializable &orig)
 
virtual ~DtAsciiSerializable ()
 
virtual std::string objectTypeC () const
 

Static Public Member Functions

static std::shared_ptr
< DtLuaEmbarkationSlotQueryJob > 
Make (DtSimulationServices *mgr, DtSimObjectReference queryingObject, DtSimObjectReference objectToBeQueried, bool bAllSlots)
 
static void responseCallback (DtSimMessage *msg, void *usr)
 
static DtAsciiSerializable * creator ()
 

Protected Types

typedef DtMutex Mutex
 

Protected Member Functions

 DtLuaEmbarkationSlotQueryJob (DtSimulationServices *mgr, DtSimObjectReference queryingObject, DtSimObjectReference objectToBeQueried, bool bAllSlots)
 
void start ()
 
void taskComplete ()
 
- Protected Member Functions inherited from DtLuaAsyncJob
 DtLuaAsyncJob ()
 
 DtLuaAsyncJob (DtSimulationServices *)
 

Static Protected Member Functions

static int nextRequestId ()
 

Protected Attributes

DtSimObjectReference myQueryingObject
 
DtSimObjectReference myObjectBeingQueried
 
bool myAllSlots
 
int myRequestId
 
bool myGotResponse
 
DtIfEmbarkationSlotInformationResponse::SlotInformationMap mySlotInfo
 
Mutex myMutex
 
- Protected Attributes inherited from DtLuaAsyncJob
DtSimulationServices * mySimulationServices
 

Friends

class PathTask
 

Member Typedef Documentation

typedef DtMutex DtLuaEmbarkationSlotQueryJob::Mutex
protected

Constructor & Destructor Documentation

DtLuaEmbarkationSlotQueryJob::DtLuaEmbarkationSlotQueryJob ( )

For creating when deserializing.

virtual DtLuaEmbarkationSlotQueryJob::~DtLuaEmbarkationSlotQueryJob ( )
overridevirtual

DTOR.

DtLuaEmbarkationSlotQueryJob::DtLuaEmbarkationSlotQueryJob ( DtSimulationServices *  mgr,
DtSimObjectReference  queryingObject,
DtSimObjectReference  objectToBeQueried,
bool  bAllSlots 
)
protected

For creating from lua call.

Member Function Documentation

static std::shared_ptr<DtLuaEmbarkationSlotQueryJob> DtLuaEmbarkationSlotQueryJob::Make ( DtSimulationServices *  mgr,
DtSimObjectReference  queryingObject,
DtSimObjectReference  objectToBeQueried,
bool  bAllSlots 
)
static
virtual luabind::object DtLuaEmbarkationSlotQueryJob::getObject ( lua_State *  L,
int &  index,
std::string &  message 
)
overridevirtual

Retrieve value.

Implements DtLuaAsyncJob.

virtual luabind::object DtLuaEmbarkationSlotQueryJob::getDebugObject ( lua_State *  L)
inlineoverridevirtual

Retrieve debug data, if available. Default return value is an empty table.

Implements DtLuaAsyncJob.

virtual void DtLuaEmbarkationSlotQueryJob::cancel ( lua_State *  L)
inlineoverridevirtual

Currently a no-op.

Implements DtLuaAsyncJob.

static void DtLuaEmbarkationSlotQueryJob::responseCallback ( DtSimMessage *  msg,
void *  usr 
)
static

Processes the query response.

virtual void DtLuaEmbarkationSlotQueryJob::processResponse ( DtSimMessage *  msg)
virtual
static DtAsciiSerializable* DtLuaEmbarkationSlotQueryJob::creator ( )
static

DtAsciiSerializable functions.

virtual DtString DtLuaEmbarkationSlotQueryJob::serialize ( )
overridevirtual

The following characters are reserved and cannot be used in serialization: '|', ':'.

Implements DtAsciiSerializable.

virtual bool DtLuaEmbarkationSlotQueryJob::deserialize ( const DtString &  )
overridevirtual

This function should take the string that was serialized via serialize() and fill this object with the correct data.

Implements DtAsciiSerializable.

virtual DtString DtLuaEmbarkationSlotQueryJob::objectType ( ) const
overridevirtual

Should return the string name of this object. The object name should not be part of the serialization unless you want it to be, but you should take it into account when implementing both functions.

Implements DtAsciiSerializable.

std::shared_ptr<DtLuaEmbarkationSlotQueryJob> DtLuaEmbarkationSlotQueryJob::shared_from_this ( )
std::shared_ptr<const DtLuaEmbarkationSlotQueryJob> DtLuaEmbarkationSlotQueryJob::shared_from_this ( ) const
static int DtLuaEmbarkationSlotQueryJob::nextRequestId ( )
inlinestaticprotected
void DtLuaEmbarkationSlotQueryJob::start ( )
protected
void DtLuaEmbarkationSlotQueryJob::taskComplete ( )
protected

Called by task object whenever it is done.

Friends And Related Function Documentation

friend class PathTask
friend

Member Data Documentation

DtSimObjectReference DtLuaEmbarkationSlotQueryJob::myQueryingObject
protected
DtSimObjectReference DtLuaEmbarkationSlotQueryJob::myObjectBeingQueried
protected
bool DtLuaEmbarkationSlotQueryJob::myAllSlots
protected
int DtLuaEmbarkationSlotQueryJob::myRequestId
protected
bool DtLuaEmbarkationSlotQueryJob::myGotResponse
protected
DtIfEmbarkationSlotInformationResponse::SlotInformationMap DtLuaEmbarkationSlotQueryJob::mySlotInfo
protected
Mutex DtLuaEmbarkationSlotQueryJob::myMutex
mutableprotected

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)