MOOS 0.2375
|
Implements a cross platform thread*/. More...
#include <MOOSThread.h>
Public Member Functions | |
CMOOSThread () | |
CMOOSThread (t_pfnWorkerFunc pfnThreadFunc, void *pThreadData) | |
~CMOOSThread () | |
Destructor just stops the thread if there's one running. | |
bool | Initialise (t_pfnWorkerFunc pfnThreadFunc, void *pThreadData) |
bool | IsQuitRequested () |
bool | IsThreadRunning () |
bool | Start (bool bCreatUnixDetached=false) |
Starts the thread running (as long as the class has been properly initialised!) | |
bool | Stop () |
Static Public Member Functions | |
static TCB | CallbackProc (void *lpThis) |
Implements a cross platform thread*/.
Definition at line 41 of file MOOSThread.h.
CMOOSThread::CMOOSThread | ( | ) | [inline] |
Definition at line 49 of file MOOSThread.h.
CMOOSThread::CMOOSThread | ( | t_pfnWorkerFunc | pfnThreadFunc, |
void * | pThreadData | ||
) | [inline] |
Definition at line 64 of file MOOSThread.h.
CMOOSThread::~CMOOSThread | ( | ) | [inline] |
Destructor just stops the thread if there's one running.
Definition at line 82 of file MOOSThread.h.
static TCB CMOOSThread::CallbackProc | ( | void * | lpThis | ) | [inline, static] |
Definition at line 229 of file MOOSThread.h.
bool CMOOSThread::Initialise | ( | t_pfnWorkerFunc | pfnThreadFunc, |
void * | pThreadData | ||
) | [inline] |
Definition at line 89 of file MOOSThread.h.
bool CMOOSThread::IsQuitRequested | ( | ) | [inline] |
Definition at line 104 of file MOOSThread.h.
bool CMOOSThread::IsThreadRunning | ( | ) | [inline] |
Definition at line 111 of file MOOSThread.h.
Starts the thread running (as long as the class has been properly initialised!)
Definition at line 119 of file MOOSThread.h.
bool CMOOSThread::Stop | ( | ) | [inline] |
Definition at line 166 of file MOOSThread.h.