Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

Recorder Class Reference

#include <Recorder.h>

Inheritance diagram for Recorder::

DatastoreRecorder ElementRecorder MaxNodeDispRecorder List of all members.

Public Methods

 Recorder ()
virtual ~Recorder ()
virtual int record (int commitTag)=0
virtual int playback (int commitTag)=0
virtual void restart (void)=0

Detailed Description

The Recorder class is an abstract class which is introduced to allow information to be saved during the analysis. The interface defines two pure virtual methods {record()} and {playback()}. {record()} is a method which is called by the Domain object during a {commit()}. The {playback()} method can be called by the analyst after the analysis has been performed. \

}

Definition at line 51 of file Recorder.h.


Constructor & Destructor Documentation

Recorder::Recorder ( ) [inline]
 

Does nothing.

Definition at line 57 of file Recorder.h.

Recorder::~Recorder ( ) [inline, virtual]
 

Does nothing.

Definition at line 62 of file Recorder.h.


Member Function Documentation

int Recorder::playback ( int commitTag ) [pure virtual]
 

Invoked by the analyst after the analysis has been performed. What the Recorder does depends on the concrete subtype.

Reimplemented in DatastoreRecorder, ElementRecorder, and MaxNodeDispRecorder.

Referenced by SolutionAlgorithm::playback(), and Domain::playback().

int Recorder::record ( int commitTag ) [pure virtual]
 

Invoked by the Domain object after {commit()} has been invoked on all the domain component objects. What the Recorder records depends on the concrete subtype.

Reimplemented in DatastoreRecorder, ElementRecorder, and MaxNodeDispRecorder.

Referenced by Domain::commit(), and SolutionAlgorithm::record().

void Recorder::restart ( void ) [pure virtual]
 

Invoked by the Domain object when {revertToStart()} is invoked on the Domain object. What the Recorder does depends on the concrete subtype.

Reimplemented in DatastoreRecorder, ElementRecorder, and MaxNodeDispRecorder.


The documentation for this class was generated from the following file:
Copyright Contact Us