Open Lighting Architecture  0.9.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Protected Member Functions | List of all members
ola::thread::CallbackThread Class Reference

Detailed Description

A thread which executes a Callback.

Inheritance diagram for ola::thread::CallbackThread:
ola::thread::Thread

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 ()

Constructor & Destructor Documentation

ola::thread::CallbackThread::CallbackThread ( VoidThreadCallback callback)
inlineexplicit

Create a new CallbackThread.

Parameters
callbackthe callback to run in the new thread.

The documentation for this class was generated from the following file: