![]() |
VR-Forces 4.3.1 Class Documentation
|
Handle to async job. More...

Public Member Functions | |
| DtAsyncJobMapEntry (DtAsyncJobServer *) | |
| virtual | ~DtAsyncJobMapEntry () |
| Automatically removes self from server map. | |
| virtual size_t | id () |
| Server-wide id. | |
| virtual DtAsyncJobServer & | server () |
| Job server. | |
| virtual DtAsyncJobStatus | status () const |
| Get status. | |
| virtual const DtAsyncJobResult * | result () const |
| Get result. | |
| virtual void | setStatus (DtAsyncJobStatus status) |
| Set status. | |
| virtual void | setResult (DtAsyncJobStatus status, DtAsyncJobResult *result=0) |
| Set result (takes ownership of result). | |
Protected Types | |
| typedef tbb::spin_rw_mutex | Mutex |
Protected Attributes | |
| Mutex | myMutex |
| DtAsyncJobServer * | myServer |
| size_t | myId |
| DtAsyncJobStatus | myStatus |
| std::auto_ptr< DtAsyncJobResult > | myResult |
Additional Inherited Members | |
Static Public Member Functions inherited from DtObjectDebugger< DtAsyncJobMapEntry > | |
| static DtObjectCounter::CounterType | ObjectCount () |
| static const DtObjectContainer * | ObjectContainer () |
Protected Member Functions inherited from DtObjectDebugger< DtAsyncJobMapEntry > | |
| DtObjectDebugger () | |
| DtObjectDebugger (const DtObjectDebugger &) | |
| ~DtObjectDebugger () | |
Handle to async job.
This class is designed to be stored by shared pointer by the user. The instance is connected to the actual job object by the server which holds a weak pointer to this object. When the user no longer needs the job they can delete the shared pointer which will delete the job entry. The job can then check for this.
|
protected |
|
explicit |
|
virtual |
Automatically removes self from server map.
|
virtual |
Server-wide id.
|
virtual |
Job server.
|
virtual |
Get status.
|
virtual |
Get result.
|
virtual |
Set status.
|
virtual |
Set result (takes ownership of result).
|
mutableprotected |
|
protected |
|
protected |
|
protected |
|
protected |