53 #ifndef FE_Datastore_h    54 #define FE_Datastore_h    69 #include "utility/actor/channel/Channel.h"    74 class FEM_ObjectBroker;
    89     std::set<int> savedStates;
    91     mutable int lastDbTag;
   102     int setUpConnection(
void);
   114     virtual const std::string &
getName(
void) 
const;
   115     virtual std::string getTypeId(
void) 
const;
   120     bool isSaved(
int commitTag) 
const;
   122     virtual int createTable(
const std::string &tableName, 
const std::vector<std::string> &);
   123     virtual int insertData(
const std::string &tableName,
const std::vector<std::string> &, 
int commitTag, 
const Vector &data);
   124     virtual int getData(
const std::string &tableName,
const std::vector<std::string> &, 
int commitTag, 
Vector &data);
   126     virtual int save(
const int &commitTag);
   127     virtual int restore(
const int &commitTag);
 virtual int restoreState(int commitTag)
Invoked to restore the state of the domain from a database. 
Definition: FE_Datastore.cpp:184
Float vector abstraction. 
Definition: Vector.h:94
int getDbTag(void) const
To return a unique integer identifier at each call. 
Definition: FE_Datastore.cpp:242
Base class for objects that store/restore model information. 
Definition: FE_Datastore.h:84
Finite element model generation tools. 
Definition: Preprocessor.h:59
Object that can move between processes. 
Definition: MovableObject.h:100
virtual int commitState(int commitTag)
Stores the current state on the database. 
Definition: FE_Datastore.cpp:138
const Preprocessor * getPreprocessor(void) const
Returns a pointer to the object preprocessor. 
Definition: FE_Datastore.cpp:84
FEM_ObjectBroker is is an object broker class for the finite element method. 
Definition: FEM_ObjectBroker.h:151
int setNextAddress(const ChannelAddress &otherChannelAddress)
Return . 
Definition: FE_Datastore.cpp:107
ChannelAddress * getLastSendersAddress(void)
Return . 
Definition: FE_Datastore.cpp:112
FEM_ObjectBroker * getObjectBroker(void)
Returns a pointer to theBroker object passed in the constructor. 
Definition: FE_Datastore.cpp:80
int recvObj(int commitTag, MovableObject &theObject, FEM_ObjectBroker &theBroker, ChannelAddress *theAddress=0)
Call {recvSelf(commitTag, *this, theBroker)} on theObject and return the result. 
Definition: FE_Datastore.cpp:123
int sendObj(int commitTag, MovableObject &theObject, ChannelAddress *theAddress=0)
Call {sendSelf(commitTag, *this, theBroker)} on theObject and return the result. 
Definition: FE_Datastore.cpp:118
std::string addToProgram(void)
Return . 
Definition: FE_Datastore.cpp:100
Channel is an abstract base class which defines the channel interface. 
Definition: Channel.h:92
virtual bool isDatastore(void) const
Return true (this channel type IS a Datastore). 
Definition: FE_Datastore.cpp:92
bool isSaved(int commitTag) const
Returns true if the state identified by commitTag was previously saved on the database. 
Definition: FE_Datastore.cpp:170
virtual const std::string & getName(void) const
Returns the name passed as argument to the constructor. 
Definition: FE_Datastore.cpp:249
Open source finite element program for structural analysis. 
Definition: ContinuaReprComponent.h:35
Base class for classes that encapsulate channel addresses. 
Definition: ChannelAddress.h:78
FE_Datastore(const std::string &, Preprocessor &, FEM_ObjectBroker &theBroker)
Constructor. 
Definition: FE_Datastore.cpp:76