17 #include "vlutil/vlMutex.h"
19 #include <luabind/luabind.hpp>
30 static std::shared_ptr<DtLuaWeaponListQueryJob> Make(
47 virtual luabind::object
getObject(lua_State* L,
int& index, std::string& message)
override;
50 virtual luabind::object
getDebugObject(lua_State* L)
override {
return luabind::newtable(L);}
53 virtual void cancel(lua_State* L)
override {};
69 std::shared_ptr<DtLuaWeaponListQueryJob> shared_from_this();
70 std::shared_ptr<const DtLuaWeaponListQueryJob> shared_from_this()
const;
83 virtual void taskComplete();
UUID is a unique ID wrapper class.
Definition: uuid.h:59
DtMutex Mutex
Definition: luaWeaponListQueryJob.h:96
Mutex myMutex
Definition: luaWeaponListQueryJob.h:98
virtual void cancel(lua_State *L) override
Currently a no-op.
Definition: luaWeaponListQueryJob.h:53
Definition: asciiSerializable.h:40
Interface for getting asynchronously computed data into Lua.
Definition: luaAsyncJob.h:27
virtual bool deserialize(const DtString &)=0
This function should take the string that was serialized via serialize() and fill this object with th...
virtual DtString serialize()=0
The following characters are reserved and cannot be used in serialization: '|', ':'.
bool myGotResponse
Definition: luaWeaponListQueryJob.h:90
DtLocalObject * pMyLocalObject
Definition: luaWeaponListQueryJob.h:85
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.
The base class for all messages to/from a specific DtVrfObject. Various subclasses of this class will...
Definition: vrfObjectMessage.h:30
virtual DtString objectType() const =0
Should return the string name of this object. The object name should not be part of the serialization...
Lua object class which represents a query for embarkation slot info.
Definition: luaWeaponListQueryJob.h:26
DtSimObjectReference myObjectBeingQueried
Definition: luaWeaponListQueryJob.h:87
std::list< WeaponSystem > DtWeaponList
Definition: weaponListResponseAdmin.h:53
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:96
DtUUID myLocalObjectUUID
Definition: luaWeaponListQueryJob.h:86
virtual luabind::object getDebugObject(lua_State *L) override
Retrieve debug data, if available. Default return value is an empty table.
Definition: luaWeaponListQueryJob.h:50
bool myRequestSent
Definition: luaWeaponListQueryJob.h:89
DtWeaponList myWeaponList
Definition: luaWeaponListQueryJob.h:92
A locally simulated VRF object.
Definition: localObject.h:98
DtTime myTimeToGiveUp
Definition: luaWeaponListQueryJob.h:94