PEARL
Parallel Event Access and Replay Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
pearl::CompoundTask Class Reference

Maintains a set of tasks and executes them in sequence. More...

#include <pearl/CompoundTask.h>

Inheritance diagram for pearl::CompoundTask:
pearl::Task

List of all members.

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 ()

Detailed Description

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.


Constructor & Destructor Documentation

virtual pearl::CompoundTask::~CompoundTask ( ) [virtual]

Member Function Documentation

virtual bool pearl::CompoundTask::execute ( ) [virtual]

Implements pearl::Task.

virtual bool pearl::CompoundTask::finish ( ) [protected, virtual]
virtual bool pearl::CompoundTask::prepare ( ) [protected, virtual]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Scalasca    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