![]() |
VR-Link API Documentation for HLA Evolved
|
The thread start object. More...
Collaboration diagram for DtThreadStart:Public Member Functions | |
| DtThreadStart (DtRunnable *runnable) | |
| DtThreadStart (DtRunnableFunction function, void *data) | |
| void | execute (volatile bool *stopFlag) |
| Execute the code. | |
| void | stop () |
| Attempt to signal the thread to stop, only works with DtRunnable objects. | |
Protected Attributes | |
| DtRunnable * | myRunnableObject |
| DtRunnableFunction | myRunnableFunction |
| void * | myInitializationData |
The thread start object.
Provides a thread starting point for either a DtRunnable object or a DtRunnableFunction C function.
| DtThreadStart::DtThreadStart | ( | DtRunnable * | runnable | ) |
| DtThreadStart::DtThreadStart | ( | DtRunnableFunction | function, |
| void * | data | ||
| ) |
| void DtThreadStart::execute | ( | volatile bool * | stopFlag | ) |
Execute the code.
| void DtThreadStart::stop | ( | ) |
Attempt to signal the thread to stop, only works with DtRunnable objects.
void* DtThreadStart::myInitializationData [protected] |
DtRunnableFunction DtThreadStart::myRunnableFunction [protected] |
DtRunnable* DtThreadStart::myRunnableObject [protected] |