SILAS  Simulation of Large Scale Applications
Public Member Functions
Hypothesis Class Reference

#include <Hypothesis.h>

List of all members.

Public Member Functions

 Hypothesis ()
virtual ~Hypothesis ()
void add_part (HypothesisPart *part)
void register_callbacks (const int run, pearl::CallbackManager *cbmanager) const

Detailed Description

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.


Constructor & Destructor Documentation

Constructor for Model

Standard constructor

~Hypothesis ( ) [virtual]

Standard destructor for Model

Destructor cleaning up registered partials hypotheses


Member Function Documentation

void add_part ( HypothesisPart part)

Add a partial hypothesis

Parameters:
partReference of partial hypothesis

Add a new partial hypothesis

Parameters:
partPointer 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

Parameters:
runID of the replay run the callbacks will be registered for
cbmanagerReference of callback manager used for regitration

SCALASCA    Copyright © 1998–2008 Forschungszentrum Jülich, Jülich Supercomputing Centre