CTask Class Reference

#include <Thread.h>

Inheritance diagram for CTask:
Inheritance graph

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.

TaskStatus_t CTask::Status (  )  [inline]

Where returns current state of a task

Definition at line 145 of file Thread.h.

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

Implemented in CTaskIncrementer, and MyTaskClass.

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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Author(s): Michael Zillich, Thomas Mörwald, Johann Prankl, Andreas Richtsfeld, Bence Magyar (ROS version)
autogenerated on Fri Mar 1 16:57:55 2013