#include <Thread.h>
Public Member Functions | |
CTask () | |
void | SetId (ThreadId_t *pid) |
void | SetTaskStatus (TaskStatus_t state) |
TaskStatus_t | Status () |
virtual BOOL | Task ()=0 |
void | Thread (ThreadId_t *pId) |
BOOL | Wait (int timeoutSeconds) |
~CTask () | |
Public Attributes | |
CMutexClass | m_mutex |
Private Attributes | |
ThreadId_t | m_dwThread |
TaskStatus_t | m_state |
CTask::CTask | ( | ) | [inline] |
CTask::~CTask | ( | ) | [inline] |
void CTask::SetId | ( | ThreadId_t * | pid | ) | [inline] |
void CTask::SetTaskStatus | ( | TaskStatus_t | state | ) | [inline] |
TaskStatus_t CTask::Status | ( | ) | [inline] |
virtual BOOL CTask::Task | ( | ) | [pure virtual] |
Implemented in MyTaskClass, and CTaskIncrementer.
void CTask::Thread | ( | ThreadId_t * | pId | ) | [inline] |
BOOL CTask::Wait | ( | int | timeoutSeconds | ) | [inline] |
ThreadId_t CTask::m_dwThread [private] |
TaskStatus_t CTask::m_state [private] |