#include <ThreadBase.h>
Public Member Functions | |
int | _ThreadMethod () |
CThreadBase () | |
bool | GetExit () |
bool | IsRunning () |
void | Start (void *pParameter, ThreadMethodType pThreadMethod, int nKillThreadTimeout=5000) |
void | Start (int nKillThreadTimeout=5000) |
void | Stop () |
virtual | ~CThreadBase () |
Public Attributes | |
bool | m_bCompletelyDone |
Protected Member Functions | |
virtual void | _Start ()=0 |
virtual void | _Stop ()=0 |
virtual void | StopThreadCallback () |
virtual int | ThreadMethod () |
Protected Attributes | |
int | m_nKillThreadTimeout |
Private Member Functions | |
virtual void | ThreadMethodFinished () |
Private Attributes | |
bool | m_bExit |
void * | m_pParameter |
ThreadMethodType | m_pThreadMethod |
Definition at line 66 of file ThreadBase.h.
CThreadBase::CThreadBase | ( | ) | [inline] |
Definition at line 70 of file ThreadBase.h.
virtual CThreadBase::~CThreadBase | ( | ) | [inline, virtual] |
Definition at line 77 of file ThreadBase.h.
virtual void CThreadBase::_Start | ( | ) | [protected, pure virtual] |
Implemented in CPosixThread, and CWindowsThread.
virtual void CThreadBase::_Stop | ( | ) | [protected, pure virtual] |
Implemented in CPosixThread, and CWindowsThread.
int CThreadBase::_ThreadMethod | ( | ) | [inline] |
Definition at line 163 of file ThreadBase.h.
bool CThreadBase::GetExit | ( | ) | [inline] |
Definition at line 126 of file ThreadBase.h.
bool CThreadBase::IsRunning | ( | ) | [inline] |
Definition at line 125 of file ThreadBase.h.
void CThreadBase::Start | ( | void * | pParameter, |
ThreadMethodType | pThreadMethod, | ||
int | nKillThreadTimeout = 5000 |
||
) | [inline] |
Definition at line 81 of file ThreadBase.h.
void CThreadBase::Start | ( | int | nKillThreadTimeout = 5000 | ) | [inline] |
Definition at line 93 of file ThreadBase.h.
void CThreadBase::Stop | ( | ) | [inline] |
Definition at line 105 of file ThreadBase.h.
virtual void CThreadBase::StopThreadCallback | ( | ) | [inline, protected, virtual] |
Definition at line 143 of file ThreadBase.h.
virtual int CThreadBase::ThreadMethod | ( | ) | [inline, protected, virtual] |
Definition at line 131 of file ThreadBase.h.
virtual void CThreadBase::ThreadMethodFinished | ( | ) | [inline, private, virtual] |
Reimplemented in CPosixThread, and CWindowsThread.
Definition at line 153 of file ThreadBase.h.
Definition at line 172 of file ThreadBase.h.
bool CThreadBase::m_bExit [private] |
Definition at line 158 of file ThreadBase.h.
int CThreadBase::m_nKillThreadTimeout [protected] |
Definition at line 148 of file ThreadBase.h.
void* CThreadBase::m_pParameter [private] |
Definition at line 157 of file ThreadBase.h.
ThreadMethodType CThreadBase::m_pThreadMethod [private] |
Definition at line 156 of file ThreadBase.h.