19 static std::shared_ptr<DtLuaMultiAsyncJob> Make(
21 std::vector<std::shared_ptr<DtLuaAsyncJob> > jobs);
30 virtual luabind::object
getObject(lua_State* L,
int& index, std::string& message)
override;
36 virtual void cancel(lua_State* L)
override;
48 std::shared_ptr<DtLuaMultiAsyncJob> shared_from_this();
49 std::shared_ptr<const DtLuaMultiAsyncJob> shared_from_this()
const;
53 virtual bool areAllJobsDone(lua_State* L)
const;
55 virtual bool isJobDone(lua_State* L, std::shared_ptr<DtLuaAsyncJob> job)
const;
58 std::vector<std::shared_ptr<DtLuaAsyncJob> > jobs);
61 std::vector<std::shared_ptr<DtLuaAsyncJob> >
myJobs;
virtual void cancel(lua_State *L)=0
Cancels the job.
Definition: luaMultiAsyncJob.h:12
virtual luabind::object getDebugObject(lua_State *L)=0
Returns debug data. Not generally used.
Definition: asciiSerializable.h:42
Interface for getting asynchronously computed data into Lua.
Definition: luaAsyncJob.h:50
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: '|', ':'.
std::vector< std::shared_ptr< DtLuaAsyncJob > > myJobs
List of jobs to wait on.
Definition: luaMultiAsyncJob.h:61
#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.
virtual DtString objectType() const =0
Should return the string name of this object. The object name should not be part of the serialization...
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:97