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

DatastoreRecorder Class Reference

#include <DatastoreRecorder.h>

Inheritance diagram for DatastoreRecorder::

Recorder List of all members.

Public Methods

 DatastoreRecorder (FE_Datastore &theDatastore)
 ~DatastoreRecorder ()
int record (int commitTag)
int playback (int commitTag)
void restart (void)

Detailed Description

A DatastoreRecorder object is used in the program to invoke {commitState()} on an FE\_Datastore object when {commit()} is invoked on a Domain. The class is included in the framework so that the Domain class does not have to be modified for FE\_Datastore objects. \

}

Definition at line 58 of file DatastoreRecorder.h.


Constructor & Destructor Documentation

DatastoreRecorder::DatastoreRecorder ( FE_Datastore & theDatastore )
 

Saves a pointer to the object {theDatastore}.

Definition at line 42 of file DatastoreRecorder.cpp.

DatastoreRecorder::~DatastoreRecorder ( )
 

Does nothing.

Definition at line 49 of file DatastoreRecorder.cpp.


Member Function Documentation

int DatastoreRecorder::playback ( int commitTag ) [virtual]
 

Returns the result of invoking {restoreState(commitTag)} on {theDatastore} object.

Reimplemented from Recorder.

Definition at line 63 of file DatastoreRecorder.cpp.

int DatastoreRecorder::record ( int commitTag ) [virtual]
 

Returns the result of invoking {commitState(commitTag)} on {theDatastore} object.

Reimplemented from Recorder.

Definition at line 56 of file DatastoreRecorder.cpp.

void DatastoreRecorder::restart ( void ) [virtual]
 

Does nothing.

Reimplemented from Recorder.

Definition at line 69 of file DatastoreRecorder.cpp.


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