#include <TaskWrapper.h>
Public Member Functions | |
Constructors & destructor | |
virtual | ~TaskWrapper () |
Protected Member Functions | |
Constructors & destructor | |
TaskWrapper (Task *task) | |
Protected Attributes | |
Task * | m_task |
Pointer to the wrapped task. |
The TaskWrapper class ensures correct parent pointer handling, i.e. it sets the wrapped task's parent pointer to the innermost CompoundTask the TaskWrapper is added to.
TaskWrapper takes ownership of the wrapped task, and deletes it on destruction.
~TaskWrapper | ( | ) | [virtual] |
Destructor. Deletes the wrapped task and destroys the instance.
TaskWrapper | ( | Task * | task | ) | [explicit, protected] |
Creates a new wrapper for the given task.
task | Task to be wrapped |
![]() |
Copyright © 1998–2009 Forschungszentrum Jülich, Jülich Supercomputing Centre |