16 #include "vlutil/vlMutex.h"
18 #include <luabind/luabind.hpp>
20 #include <boost/scoped_ptr.hpp>
29 typedef std::vector<DtLocation3D>
Points;
31 static boost::shared_ptr<DtLuaEmbarkationSlotQueryJob> Make(
43 luabind::object
getObject(lua_State* L,
int& index, std::string& message);
49 virtual void cancel(lua_State* L) {};
52 static void responseCallback(
DtSimMessage* msg,
void* usr);
65 boost::shared_ptr<DtLuaEmbarkationSlotQueryJob> shared_from_this();
66 boost::shared_ptr<const DtLuaEmbarkationSlotQueryJob> shared_from_this()
const;
72 static int theRequestId = 0;
74 return ++theRequestId;
78 friend class PathTask;
virtual void cancel(lua_State *L)
Currently a no-op.
Definition: luaEmbarkationSlotQueryJob.h:49
Mutex myMutex
Definition: luaEmbarkationSlotQueryJob.h:101
Definition: asciiSerializable.h:33
Interface for getting asynchronously computed data into Lua.
Definition: luaAsyncJob.h:29
virtual bool deserialize(const DtString &)=0
This function should take the string that was serialized via serialize() and fill this object with th...
DtMutex Mutex
Definition: luaEmbarkationSlotQueryJob.h:99
virtual DtString serialize()=0
The following characters are reserved and cannot be used in serialization: '|', ':'.
luabind::object getDebugObject(lua_State *L)
Retrieve debug data, if available. Default return value is an empty table.
Definition: luaEmbarkationSlotQueryJob.h:46
int myRequestId
Definition: luaEmbarkationSlotQueryJob.h:94
DtSharedVrfObjectReference class will allocate an empty DtVrfObjectReference if one is not assigned s...
Definition: vrfObjectReference.h:102
DtSharedVrfObjectReference myObjectBeingQueried
Definition: luaEmbarkationSlotQueryJob.h:92
DtSharedVrfObjectReference myQueryingObject
Definition: luaEmbarkationSlotQueryJob.h:91
File: simMsg.h.
Definition: simMessage.h:35
#define DT_DLL_vrfLua
This file is used to determine how to build.
Definition: vrfLuaDefines.h:25
virtual luabind::object getObject(lua_State *L, int &index, std::string &message)=0
Retrieve current value.
bool myGotResponse
Definition: luaEmbarkationSlotQueryJob.h:96
virtual DtString objectType() const =0
Should return the string name of this object.
static int nextRequestId()
Definition: luaEmbarkationSlotQueryJob.h:70
Lua object class which represents a query for embarkation slot info.
Definition: luaEmbarkationSlotQueryJob.h:26
DtIfEmbarkationSlotInformationResponse::SlotInformationMap mySlotInfo
Definition: luaEmbarkationSlotQueryJob.h:97
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:103
std::vector< DtLocation3D > Points
Definition: luaEmbarkationSlotQueryJob.h:29