![]() |
PEARL
Parallel Event Access and Replay Library
|
Maintains a set of tasks and executes them in sequence. More...
#include <pearl/CompoundTask.h>
Public Member Functions | |
virtual bool | execute () |
void | add_task (Task *task) |
Constructors & destructor | |
CompoundTask () | |
virtual | ~CompoundTask () |
Protected Member Functions | |
Execution control | |
virtual bool | prepare () |
virtual bool | finish () |
A CompoundTask maintains a list of subtasks and executes them in the order they were added. Subtasks can be added with CompoundTask::add_task().
CompoundTask takes ownership of the task objects associated with it and will automatically free them on destruction.
virtual pearl::CompoundTask::~CompoundTask | ( | ) | [virtual] |
void pearl::CompoundTask::add_task | ( | Task * | task | ) |
virtual bool pearl::CompoundTask::execute | ( | ) | [virtual] |
Implements pearl::Task.
virtual bool pearl::CompoundTask::finish | ( | ) | [protected, virtual] |
virtual bool pearl::CompoundTask::prepare | ( | ) | [protected, virtual] |
![]() |
Copyright © 1998–2014 Forschungszentrum Jülich GmbH,
Jülich Supercomputing Centre
Copyright © 2009–2014 German Research School for Simulation Sciences GmbH, Laboratory for Parallel Programming |