|
SILAS
Simulation of Large Scale Applications
|
#include <Hypothesis.h>
Public Member Functions | |
| Hypothesis () | |
| virtual | ~Hypothesis () |
| void | add_part (HypothesisPart *part) |
| void | register_callbacks (const int run, pearl::CallbackManager *cbmanager) const |
A hypothesis is a set of smaller hypothesis parts each defining a hypothetic behaviour of some kind. Each part defines its own callback functions an the hypothesis serves as a container to ease callback registration for the simulator.
| Hypothesis | ( | ) |
Constructor for Model
Standard constructor
| ~Hypothesis | ( | ) | [virtual] |
Standard destructor for Model
Destructor cleaning up registered partials hypotheses
| void add_part | ( | HypothesisPart * | part | ) |
Add a partial hypothesis
| part | Reference of partial hypothesis |
Add a new partial hypothesis
| part | Pointer to an object of a partial hypothesis |
| void register_callbacks | ( | const int | run, |
| pearl::CallbackManager * | cbmanager | ||
| ) | const |
Register all callbacks of the included partial hypotheses
| run | ID of the replay run the callbacks will be registered for |
| cbmanager | Reference of callback manager used for regitration |
![]() |
Copyright © 1998–2008 Forschungszentrum Jülich, Jülich Supercomputing Centre |