Public Member Functions | Public Attributes | Private Attributes
CTask Class Reference

#include <Thread.h>

Inheritance diagram for CTask:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

Definition at line 99 of file Thread.h.


Constructor & Destructor Documentation

CTask::CTask ( ) [inline]

Definition at line 160 of file Thread.h.

CTask::~CTask ( ) [inline]

Definition at line 161 of file Thread.h.


Member Function Documentation

void CTask::SetId ( ThreadId_t pid) [inline]

Definition at line 114 of file Thread.h.

void CTask::SetTaskStatus ( TaskStatus_t  state) [inline]

Definition at line 107 of file Thread.h.

Where returns current state of a task

Definition at line 145 of file Thread.h.

virtual BOOL CTask::Task ( ) [pure virtual]

Implemented in MyTaskClass, and CTaskIncrementer.

void CTask::Thread ( ThreadId_t pId) [inline]

Definition at line 155 of file Thread.h.

BOOL CTask::Wait ( int  timeoutSeconds) [inline]

Wait waits for upto timeoutSeconds for a task to complete

Definition at line 126 of file Thread.h.


Member Data Documentation

Definition at line 103 of file Thread.h.

Definition at line 105 of file Thread.h.

Definition at line 102 of file Thread.h.


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


blort
Author(s): Michael Zillich, Thomas Mörwald, Johann Prankl, Andreas Richtsfeld, Bence Magyar (ROS version)
autogenerated on Thu Jan 2 2014 11:38:26