Public Member Functions | Public Attributes | Protected Attributes
CThread Class Reference

#include <Thread.h>

Inheritance diagram for CThread:
Inheritance graph
[legend]

List of all members.

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
CThreadoperator= (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

Detailed Description

Definition at line 64 of file Thread.h.


Constructor & Destructor Documentation

CThread::CThread ( void  )

Definition at line 83 of file Thread.cpp.

CThread::CThread ( const CThread clThread)

Definition at line 94 of file Thread.cpp.

CThread::~CThread ( void  )

Definition at line 99 of file Thread.cpp.


Member Function Documentation

check outside the thread function to check running

Definition at line 229 of file Thread.cpp.

check inside the thread function to check termination

Definition at line 234 of file Thread.cpp.

int CThread::createThread ( void(*)(CThread *)  fuThreadFunction,
void *  pThreadObject 
)

Definition at line 145 of file Thread.cpp.

called inside the thread function before leaving the thread

Definition at line 213 of file Thread.cpp.

CThread & CThread::operator= ( const CThread clThread)

Definition at line 110 of file Thread.cpp.

void CThread::setThreadStackSize ( unsigned int  uiSize)

Definition at line 128 of file Thread.cpp.

called outside the thread function to terminate the thread

Definition at line 224 of file Thread.cpp.


Member Data Documentation

bool CThread::m_bThreadRunFlag [protected]

Definition at line 88 of file Thread.h.

bool CThread::m_bThreadStopFlag [protected]

Definition at line 89 of file Thread.h.

char* CThread::m_pcStack [protected]

Definition at line 78 of file Thread.h.

Definition at line 98 of file Thread.h.

Definition at line 97 of file Thread.h.

unsigned int CThread::m_uiStackSize [protected]

Definition at line 77 of file Thread.h.


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


schunk_libm5api
Author(s): Florian Weisshardt
autogenerated on Thu Aug 27 2015 15:06:52