Open Lighting Architecture
0.9.0
|
A thread which executes a Callback.
Public Types | |
typedef SingleUseCallback0< void > | VoidThreadCallback |
Public Member Functions | |
CallbackThread (VoidThreadCallback *callback) | |
Public Member Functions inherited from ola::thread::Thread | |
virtual bool | Start () |
virtual bool | FastStart () |
virtual bool | Join (void *ptr=NULL) |
bool | IsRunning () |
ThreadId | Id () const |
void * | _InternalRun () |
Protected Member Functions | |
void * | Run () |
Additional Inherited Members | |
Static Public Member Functions inherited from ola::thread::Thread | |
static ThreadId | Self () |
|
inlineexplicit |
Create a new CallbackThread.
callback | the callback to run in the new thread. |