Public Member Functions | Public Attributes | Protected Attributes | List of all members
CThread Class Reference

#include <Thread.h>

Inheritance diagram for CThread:
Inheritance graph
[legend]

Public Member Functions

bool checkThreadRun ()
 check outside the thread function to check running More...
 
bool checkThreadStop ()
 check inside the thread function to check termination More...
 
int createThread (void(*fuThreadFunction)(CThread *), void *pThreadObject)
 
 CThread ()
 
 CThread (const CThread &clThread)
 
void exitThread ()
 called inside the thread function before leaving the thread More...
 
CThreadoperator= (const CThread &clThread)
 
void setThreadStackSize (unsigned int uiSize)
 
void terminateThread ()
 called outside the thread function to terminate the thread More...
 
 ~CThread (void)
 
- Public Member Functions inherited from CMessage
 CMessage (void)
 
 CMessage (const char *pcClassName, int iDebugLevel=0, bool bDebug=true, bool bDebugFile=false)
 
 CMessage (const CMessage &clMessage)
 
void debug (const int iDebugLevel, const char *pcDebugMessage,...) const
 
void error (const int iErrorCode, const char *pcErrorMessage,...) const
 
void error (const char *pcErrorMessage,...) const
 
int getDebugLevel () const
 
int initMessage (const char *pcClassName, int iDebuglevel=0, bool bDebug=true, bool bDebugFile=false)
 
void logging (const char *pcLoggingMessage,...)
 
CMessageoperator= (const CMessage &clMessage)
 
void setDebug (bool bFlag)
 
void setDebugFile (bool bFlag)
 
void setDebugLevel (int iLevel)
 
void setInitTime (void)
 
void warning (const char *pcWarningMessage,...) const
 
virtual ~CMessage (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
 
- Protected Attributes inherited from CMessage
char m_acClassName [50]
 
bool m_bDebug
 
bool m_bDebugFile
 
int m_iDebugLevel
 

Additional Inherited Members

- Static Public Member Functions inherited from CMessage
static void setCriticalSection (CRITICAL_SECTION *cs)
 
- Static Protected Attributes inherited from CMessage
static double m_fInitTime
 

Detailed Description

Definition at line 33 of file Thread.h.

Constructor & Destructor Documentation

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.

Member Function Documentation

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.

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

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.

Member Data Documentation

bool CThread::m_bThreadRunFlag
protected

Definition at line 57 of file Thread.h.

bool CThread::m_bThreadStopFlag
protected

Definition at line 58 of file Thread.h.

char* CThread::m_pcStack
protected

Definition at line 47 of file Thread.h.

void(* CThread::m_pfuThreadFunction) (CThread *)

Definition at line 67 of file Thread.h.

void* CThread::m_pvThreadObject

Definition at line 66 of file Thread.h.

unsigned int CThread::m_uiStackSize
protected

Definition at line 46 of file Thread.h.


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


schunk_libm5api
Author(s): Florian Weisshardt
autogenerated on Mon Nov 25 2019 03:48:19