52 #ifndef FE_Datastore_h 53 #define FE_Datastore_h 68 #include "utility/actor/channel/Channel.h" 72 class FEM_ObjectBroker;
82 std::set<int> savedStates;
86 {
return preprocessor; }
92 char *addToProgram(
void);
93 int setUpConnection(
void);
104 int getDbTag(
void)
const;
105 virtual bool isDatastore(
void)
const;
108 virtual int restoreState(
int commitTag);
109 bool isSaved(
int commitTag)
const;
111 virtual int createTable(
const std::string &tableName,
const std::vector<std::string> &);
112 virtual int insertData(
const std::string &tableName,
const std::vector<std::string> &,
int commitTag,
const Vector &data);
113 virtual int getData(
const std::string &tableName,
const std::vector<std::string> &,
int commitTag,
Vector &data);
115 int save(
const int &commitTag);
116 int restore(
const int &commitTag);
Definition: FE_Datastore.h:76
FEM_ObjectBroker is is an object broker class for the finite element method. All methods are virtual ...
Definition: FEM_ObjectBroker.h:138
virtual int commitState(int commitTag)
Salva el estado en la database.
Definition: FE_Datastore.cpp:106
Definition: ChannelAddress.h:69
Object that can move between processes.
Definition: MovableObject.h:91
Finite element model generation tools.
Definition: Preprocessor.h:58
Channel is an abstract base class which defines the channel interface. A channel is a point of commun...
Definition: Channel.h:85
FE_Datastore(Preprocessor &, FEM_ObjectBroker &theBroker)
Constructor.
Definition: FE_Datastore.cpp:75
bool isSaved(int commitTag) const
Returns true if the estado se salvó
Definition: FE_Datastore.cpp:134
================================================================================
Definition: ContinuaReprComponent.h:34