#include <ReplayTask.h>
Protected Member Functions | |
Constructors & destructor | |
BackwardReplayTask (const GlobalDefs &defs, LocalTrace &trace, CallbackData *cbdata=0, CallbackManager *cbmanager=0) | |
Replay control | |
virtual bool | replay () |
BackwardReplayTask | ( | const GlobalDefs & | defs, | |
LocalTrace & | trace, | |||
CallbackData * | cbdata = 0 , |
|||
CallbackManager * | cbmanager = 0 | |||
) | [protected] |
Constructor. Initializes internal data.
The constructor creates a default callback manager of type pearl::CallbackManager. You can specify a different callback manager by passing a non-null pointer to a callback manager object via the cbmanager argument. Note that BackwardReplayTask takes ownership of the callback manager object, i.e., it will be freed automatically in the BackwardReplayTask destructor.
defs | Reference to global definition object | |
trace | Reference to the trace object the replay will be performed on | |
cbdata | Pointer to callback data object to be passed to the callback functions (default 0) | |
cbmanager | Pointer to callback manager object (default 0) |
bool replay | ( | ) | [protected, virtual] |
Executes a backward replay, i.e., iterates over the events of the associated trace in reverse order (i.e., from the end to the beginning) and executes the corresponding callbacks registered with the callback manager.
Implements ReplayTask.
![]() |
Copyright © 1998–2009 Forschungszentrum Jülich, Jülich Supercomputing Centre |