|
xc
|
// A DatastoreRecorder object is used in the program to invoke commitState() on an FE_datastore object when commit() is invoked on a Domain. More...
#include <DatastoreRecorder.h>
Public Member Functions | |
| DatastoreRecorder (void) | |
| Default constructor. | |
| DatastoreRecorder (FE_Datastore &theDatastore) | |
| Constructor. More... | |
| int | record (int commitTag, double timeStamp) |
| Return the result of invoking {commitState(commitTag)} on {theDatastore} object. More... | |
| int | playback (int commitTag) |
| brief Return the result of invoking {restoreState(commitTag)} on {theDatastore} object. More... | |
| int | restart (void) |
| Do nothing. | |
Public Member Functions inherited from XC::Recorder | |
| Recorder (int classTag) | |
| virtual int | setDomain (Domain &theDomain) |
| virtual int | sendSelf (CommParameters &) |
| Send the object. More... | |
| virtual int | recvSelf (const CommParameters &) |
| Receive the object. More... | |
Public Member Functions inherited from XC::MovableObject | |
| MovableObject (int classTag, int dbTag) | |
| Constructor. More... | |
| MovableObject (int classTag) | |
| Constructor. More... | |
| MovableObject (const MovableObject &) | |
| Copy constructor. Doesn't copy the dbTag. | |
| MovableObject & | operator= (const MovableObject &) |
| Assignment operator. Doesn't copy the dbTag. | |
| int | getClassTag (void) const |
| Return the class identifier. | |
| int | getDbTag (void) const |
| Return the object identifier in the database. | |
| int | getDbTag (CommParameters &) |
| Return the object identifier in the database. | |
| void | setDbTag (int dbTag) |
| Sets the object identifier in the database. | |
| void | setDbTag (CommParameters &) |
| Sets the object identifier in the database if not already set. More... | |
| virtual int | setParameter (const std::vector< std::string > &argv, Parameter ¶m) |
Sets the value param to the parameter argv. | |
| virtual int | updateParameter (int parameterID, Information &info) |
Updates the parameter identified by parameterID with info. | |
| virtual int | activateParameter (int parameterID) |
Activates the parameter identified by parameterID. | |
| virtual int | setVariable (const std::string &variable, Information &) |
Set the value of the variable idenfified by var. | |
| virtual int | getVariable (const std::string &variable, Information &) |
Return the value of the variable idenfified by var. | |
Public Member Functions inherited from XC::DistributedBase | |
| DistributedBase (void) | |
| Constructor. | |
| virtual DbTagData & | getDbTagData (void) const |
| Returns a vector to store class dbTags. | |
| const int & | getDbTagDataPos (const int &i) const |
| Returns the data at the i-th position. | |
| void | setDbTagDataPos (const int &i, const int &v) |
| Sets the data at the i-th position. | |
| void | inicComm (const int &dataSize) const |
| Initializes communication. | |
// A DatastoreRecorder object is used in the program to invoke commitState() on an FE_datastore object when commit() is invoked on a Domain.
| XC::DatastoreRecorder::DatastoreRecorder | ( | FE_Datastore & | theDb | ) |
Constructor.
| theDb | reference to the datastore object. |
|
virtual |
brief Return the result of invoking {restoreState(commitTag)} on {theDatastore} object.
Reimplemented from XC::Recorder.
|
virtual |
Return the result of invoking {commitState(commitTag)} on {theDatastore} object.
Implements XC::Recorder.
1.8.12