Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
CThreadBase Class Referenceabstract

#include <ThreadBase.h>

Inheritance diagram for CThreadBase:
Inheritance graph
[legend]

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
 
voidm_pParameter
 
ThreadMethodType m_pThreadMethod
 

Detailed Description

Definition at line 66 of file ThreadBase.h.

Constructor & Destructor Documentation

CThreadBase::CThreadBase ( )
inline

Definition at line 70 of file ThreadBase.h.

virtual CThreadBase::~CThreadBase ( )
inlinevirtual

Definition at line 77 of file ThreadBase.h.

Member Function Documentation

virtual void CThreadBase::_Start ( )
protectedpure virtual

Implemented in CPosixThread, and CWindowsThread.

virtual void CThreadBase::_Stop ( )
protectedpure 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 ( )
inlineprotectedvirtual

Definition at line 143 of file ThreadBase.h.

virtual int CThreadBase::ThreadMethod ( )
inlineprotectedvirtual

Definition at line 131 of file ThreadBase.h.

virtual void CThreadBase::ThreadMethodFinished ( )
inlineprivatevirtual

Reimplemented in CPosixThread, and CWindowsThread.

Definition at line 153 of file ThreadBase.h.

Member Data Documentation

bool CThreadBase::m_bCompletelyDone

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.


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


asr_ivt
Author(s): Allgeyer Tobias, Hutmacher Robin, Kleinert Daniel, Meißner Pascal, Scholz Jonas, Stöckle Patrick
autogenerated on Mon Dec 2 2019 03:47:28