MOOS 0.2375
Public Member Functions | Static Public Member Functions
CMOOSThread Class Reference

Implements a cross platform thread*/. More...

#include <MOOSThread.h>

Collaboration diagram for CMOOSThread:
Collaboration graph
[legend]

List of all members.

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)

Detailed Description

Implements a cross platform thread*/.

Definition at line 41 of file MOOSThread.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.

bool CMOOSThread::Start ( bool  bCreatUnixDetached = false) [inline]

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.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines