#include <Thread.h>
Public Member Functions | |
bool | checkThreadRun () |
check outside the thread function to check running | |
bool | checkThreadStop () |
check inside the thread function to check termination | |
int | createThread (void(*fuThreadFunction)(CThread *), void *pThreadObject) |
CThread () | |
CThread (const CThread &clThread) | |
void | exitThread () |
called inside the thread function before leaving the thread | |
CThread & | operator= (const CThread &clThread) |
void | setThreadStackSize (unsigned int uiSize) |
void | terminateThread () |
called outside the thread function to terminate the thread | |
~CThread (void) | |
Public Attributes | |
void(* | m_pfuThreadFunction )(CThread *) |
void * | m_pvThreadObject |
Protected Attributes | |
bool | m_bThreadRunFlag |
bool | m_bThreadStopFlag |
char * | m_pcStack |
unsigned int | m_uiStackSize |
CThread::CThread | ( | void | ) |
Definition at line 52 of file Thread.cpp.
CThread::CThread | ( | const CThread & | clThread | ) |
Definition at line 63 of file Thread.cpp.
CThread::~CThread | ( | void | ) |
Definition at line 68 of file Thread.cpp.
bool CThread::checkThreadRun | ( | ) |
check outside the thread function to check running
Definition at line 198 of file Thread.cpp.
bool CThread::checkThreadStop | ( | ) |
check inside the thread function to check termination
Definition at line 203 of file Thread.cpp.
int CThread::createThread | ( | void(*)(CThread *) | fuThreadFunction, |
void * | pThreadObject | ||
) |
Definition at line 114 of file Thread.cpp.
void CThread::exitThread | ( | ) |
called inside the thread function before leaving the thread
Definition at line 182 of file Thread.cpp.
Definition at line 79 of file Thread.cpp.
void CThread::setThreadStackSize | ( | unsigned int | uiSize | ) |
Definition at line 97 of file Thread.cpp.
void CThread::terminateThread | ( | ) |
called outside the thread function to terminate the thread
Definition at line 193 of file Thread.cpp.
bool CThread::m_bThreadRunFlag [protected] |
bool CThread::m_bThreadStopFlag [protected] |
char* CThread::m_pcStack [protected] |
void(* CThread::m_pfuThreadFunction)(CThread *) |
unsigned int CThread::m_uiStackSize [protected] |