| DtLuaMultiAsyncJob::DtLuaMultiAsyncJob |
( |
| ) |
|
For creating when deserializing.
| virtual DtLuaMultiAsyncJob::~DtLuaMultiAsyncJob |
( |
| ) |
|
|
overridevirtual |
Factory method for creating a new job. The job will be started before returning. Must supply a list of the jobs to run, and the job will be marked complete when all of them are complete. The results of each job will be returned in a table from getObject().
| virtual luabind::object DtLuaMultiAsyncJob::getObject |
( |
lua_State * |
L, |
|
|
int & |
index, |
|
|
std::string & |
message |
|
) |
| |
|
overridevirtual |
Retrieve current value.
- Parameters
-
| L | Lua state. |
| index | Index of returned value, returned in Lua as the second return value. Allows implementation to distinguish between different values computed over time. |
| message | Error message, returned in Lua as the third return value. |
- Returns
- Computed value.
Implements DtLuaAsyncJob.
| virtual luabind::object DtLuaMultiAsyncJob::getDebugObject |
( |
lua_State * |
L | ) |
|
|
overridevirtual |
Returns debug data. Not generally used.
- Parameters
-
- Returns
- Debug data.
Implements DtLuaAsyncJob.
| virtual void DtLuaMultiAsyncJob::cancel |
( |
lua_State * |
L | ) |
|
|
overridevirtual |
| virtual DtString DtLuaMultiAsyncJob::serialize |
( |
| ) |
|
|
overridevirtual |
The following characters are reserved and cannot be used in serialization: '|', ':'.
Implements DtAsciiSerializable.
| virtual bool DtLuaMultiAsyncJob::deserialize |
( |
const DtString & |
| ) |
|
|
overridevirtual |
| virtual DtString DtLuaMultiAsyncJob::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.
| virtual bool DtLuaMultiAsyncJob::areAllJobsDone |
( |
lua_State * |
L | ) |
const |
|
protectedvirtual |
| virtual bool DtLuaMultiAsyncJob::isJobDone |
( |
lua_State * |
L, |
|
|
std::shared_ptr< DtLuaAsyncJob > |
job |
|
) |
| const |
|
protectedvirtual |
| std::vector<std::shared_ptr<DtLuaAsyncJob> > DtLuaMultiAsyncJob::myJobs |
|
protected |
The documentation for this class was generated from the following file:
- /data/exports/nrhent7-1/nightly/docs/vrForces.vrf5-3-branch/include/vrfLua/luaMultiAsyncJob.h