class Task |
Class representing a task on the PVM.
![]() | HasParent () const returns, whether the task has a parent. |
![]() | Host () const returns the host, the task is running on. |
![]() | Kill () const kills the tasks. |
![]() | Name () const returns the name of the task. |
![]() | Parent () const returns the parent of the task. |
![]() | Running () const returns, whether the task is running. |
![]() | Task (unsigned int What) constructs a Task for the host with the task id What as used by PVM. |
![]() | operator unsigned int () const returns the host id as used by PVM. |
Class representing a task on the PVM.This class represents a task, running (or preveously running) on the PVM. Internally it just stores a pointer to a data structure, so it is save and fast to use it as a value parameter and as a function result as well. Requests to the PVM, like Name() are cached, so you don't need to cache yourself.
There is an ostream& operator<< (ostream &Stream, Task What) defined as well. It outputs the task id as used by the PVM prepended by a "t".
Alphabetic index Hierarchy of classes