![]() |
VR-Forces 4.2 Class Documentation
|
An asynchronous job that can be added to and executed by a job server. More...

Public Member Functions | |
| DtAsyncJob () | |
| CTOR. | |
| virtual | ~DtAsyncJob () |
| Virtual DTOR. | |
| virtual task * | execute () |
| Do not override. Calls onExecute, then onException if there is an exception thrown. | |
| virtual task * | onExecute ()=0 |
| Called to execute a task. | |
| virtual task * | onException ()=0 |
| Called when an exception is caught during execution. | |
| virtual boost::shared_ptr < DtAsyncJobMapEntry > | getEntry () const |
| Returns the entry associated with this task. | |
| virtual void | setEntry (boost::shared_ptr< DtAsyncJobMapEntry >) |
| Set the job entry. | |
Protected Attributes | |
| boost::weak_ptr < DtAsyncJobMapEntry > | myEntry |
| DtAsyncJobServer * | myServer |
An asynchronous job that can be added to and executed by a job server.
| DtAsyncJob::DtAsyncJob | ( | ) |
CTOR.
|
virtual |
Virtual DTOR.
|
virtual |
Do not override. Calls onExecute, then onException if there is an exception thrown.
|
pure virtual |
Called to execute a task.
Implemented in MAKVRinTerra::DtMakePathJob.
|
pure virtual |
Called when an exception is caught during execution.
Implemented in MAKVRinTerra::DtMakePathJob.
|
virtual |
Returns the entry associated with this task.
If it is null the task is no longer needed.
|
virtual |
Set the job entry.
|
protected |
|
protected |