TwiceAsNice  2019-02-18
Public Member Functions | Private Attributes | List of all members
CThread Class Reference

#include <Thread.h>

Collaboration diagram for CThread:
Collaboration graph

Public Member Functions

 CThread (tUeiPalThreadProc proc, void *param)
 
virtual ~CThread ()
 
bool Run ()
 
bool Join ()
 
bool Abort ()
 
bool SetPriority (tUeiPalThreadPriority priority)
 
bool IsRunning ()
 
tThreadId GetId ()
 
 CThread (tUeiPalThreadProc proc, void *param)
 
virtual ~CThread ()
 
bool Run ()
 
bool Join ()
 
bool Abort ()
 
bool SetPriority (tUeiPalThreadPriority priority)
 
bool IsRunning ()
 
tThreadId GetId ()
 

Private Attributes

tUeiPalThreadProc m_pThreadProc
 
void * m_param
 
CEvent m_StopEvent
 
tThreadId m_threadId
 
bool m_bIsRunning
 

Constructor & Destructor Documentation

◆ CThread() [1/2]

CThread::CThread ( tUeiPalThreadProc  proc,
void *  param 
)

◆ ~CThread() [1/2]

CThread::~CThread ( )
virtual

◆ CThread() [2/2]

CThread::CThread ( tUeiPalThreadProc  proc,
void *  param 
)

◆ ~CThread() [2/2]

virtual CThread::~CThread ( )
virtual

Member Function Documentation

◆ Abort() [1/2]

bool CThread::Abort ( )

◆ Abort() [2/2]

bool CThread::Abort ( )

◆ GetId() [1/2]

tThreadId CThread::GetId ( )
inline

◆ GetId() [2/2]

tThreadId CThread::GetId ( )
inline

◆ IsRunning() [1/2]

bool CThread::IsRunning ( )

◆ IsRunning() [2/2]

bool CThread::IsRunning ( )

◆ Join() [1/2]

bool CThread::Join ( )

◆ Join() [2/2]

bool CThread::Join ( )

◆ Run() [1/2]

bool CThread::Run ( )

◆ Run() [2/2]

bool CThread::Run ( )

◆ SetPriority() [1/2]

bool CThread::SetPriority ( tUeiPalThreadPriority  priority)

◆ SetPriority() [2/2]

bool CThread::SetPriority ( tUeiPalThreadPriority  priority)

Member Data Documentation

◆ m_bIsRunning

bool CThread::m_bIsRunning
private

◆ m_param

void * CThread::m_param
private

◆ m_pThreadProc

tUeiPalThreadProc CThread::m_pThreadProc
private

◆ m_StopEvent

CEvent CThread::m_StopEvent
private

◆ m_threadId

tThreadId CThread::m_threadId
private

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