#include <at_thread.h>
Inheritance diagram for at::Task:


Public Types | |
| typedef SYS_TaskID | TaskID |
Public Methods | |
| Task () | |
| virtual | ~Task () |
| virtual void | Work ()=0 throw () |
| void | Start () |
| void | Wait () |
| void | Wait (const TimeInterval &i_time) |
| TaskID | GetThisId () |
Static Public Methods | |
| TaskID | GetSelfId () |
Friends | |
| struct | TaskContext |
|
|
TaskID is system specific. The only operations that will be supported across all platforms are ostream << TaskID, equality and less than. |
|
|
Task constructor. |
|
|
The Task destructor will implicitly wait for the thread to terminate. |
|
|
Get the thread ID of the calling thread.
|
|
|
Get the thread ID of the this thread.
|
|
|
Start will initiate the created thread. Start must be called exactly once.
|
|
|
Wait will wait for the termination of this thread. (also called join). This version of wail will not wait more than i_time.
|
|
|
Wait will wait for the termination of this thread. (also called join).
|
|
|
Work is derived by the application to perform the work required by the task.
Implemented in Task_Test. |
|
|
|
Generated for Austria by
and
MakeXS at Sun Oct 24 17:35:34 PDT 2004