17 #include "vlutil/vlMutex.h"
19 #include <luabind/luabind.hpp>
21 #include <boost/scoped_ptr.hpp>
30 typedef std::vector<DtLocation3D>
Points;
32 static boost::shared_ptr<DtLuaEmbarkationEgressPointsQueryJob> Make(
44 luabind::object
getObject(lua_State* L,
int& index, std::string& message);
47 luabind::object
getDebugObject(lua_State* L) {
return luabind::newtable(L); }
50 virtual void cancel(lua_State* L) {};
53 static void responseCallback(
DtSimMessage* msg,
void* usr);
66 boost::shared_ptr<DtLuaEmbarkationEgressPointsQueryJob> shared_from_this();
67 boost::shared_ptr<const DtLuaEmbarkationEgressPointsQueryJob> shared_from_this()
const;
73 static int theRequestId = 0;
75 return ++theRequestId;
79 friend class PathTask;
virtual void cancel(lua_State *L)
Currently a no-op.
Definition: luaEmbarkationEgressPointsQueryJob.h:50
static int nextRequestId()
Definition: luaEmbarkationEgressPointsQueryJob.h:71
std::map< int, EgressPointInformation > EgressPointInformationMap
Definition: ifEmbarkationEgressPointsResponse.h:30
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...
bool myGotResponse
Definition: luaEmbarkationEgressPointsQueryJob.h:97
virtual DtString serialize()=0
The following characters are reserved and cannot be used in serialization: '|', ':'.
DtSharedVrfObjectReference class will allocate an empty DtVrfObjectReference if one is not assigned s...
Definition: vrfObjectReference.h:102
DtMutex Mutex
Definition: luaEmbarkationEgressPointsQueryJob.h:101
File: simMsg.h.
Definition: simMessage.h:35
#define DT_DLL_vrfLua
This file is used to determine how to build.
Definition: vrfLuaDefines.h:25
DtIfEmbarkationEgressPointsResponse::EgressPointInformationMap myEgressInfo
Definition: luaEmbarkationEgressPointsQueryJob.h:99
luabind::object getDebugObject(lua_State *L)
Retrieve debug data, if available. Default return value is an empty table.
Definition: luaEmbarkationEgressPointsQueryJob.h:47
DtSharedVrfObjectReference myObjectBeingQueried
Definition: luaEmbarkationEgressPointsQueryJob.h:93
virtual luabind::object getObject(lua_State *L, int &index, std::string &message)=0
Retrieve current value.
virtual DtString objectType() const =0
Should return the string name of this object.
Lua object class which represents a query for embarkation ingress and egress point info...
Definition: luaEmbarkationEgressPointsQueryJob.h:27
std::vector< DtLocation3D > Points
Definition: luaEmbarkationEgressPointsQueryJob.h:30
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:102
int myRequestId
Definition: luaEmbarkationEgressPointsQueryJob.h:95
Mutex myMutex
Definition: luaEmbarkationEgressPointsQueryJob.h:103
DtSharedVrfObjectReference myQueryingObject
Definition: luaEmbarkationEgressPointsQueryJob.h:92