51 #ifndef MySqlDatastore_h 52 #define MySqlDatastore_h 65 #include "DBDatastore.h" 82 int createOpenSeesDatabase(
const std::string &projectName);
83 int execute(
const std::string &query);
86 MySqlDatastore(
const std::string &,
const std::string &,
const std::string &,
const std::string &,
unsigned int port,
const std::string &,
unsigned int clientFlag,
Preprocessor &,
FEM_ObjectBroker &,
int dbRun = 0);
102 int createTable(
const std::string &tableName,
const std::vector<std::string> &columns);
103 int insertData(
const std::string &tableName,
const std::vector<std::string> &columns,
int commitTag,
const Vector &data);
104 int getData(
const std::string &tableName,
const std::vector<std::string> &columns,
int commitTag,
Vector &data);
106 int setDbRun(
int run);
Definition: DBDatastore.h:38
Float vector abstraction.
Definition: Vector.h:93
int sendMsg(int dbTag, int commitTag, const Message &, ChannelAddress *theAddress=nullptr)
A method invoked to send the data in the Message object theMsg to another Channel object...
Definition: MySqlDatastore.cpp:144
Finite element model generation tools.
Definition: Preprocessor.h:58
int recvID(int dbTag, int commitTag, ID &, ChannelAddress *theAddress=nullptr)
Invoked to receive the data in the ID object theID to another Channel object.
Definition: MySqlDatastore.cpp:455
FEM_ObjectBroker is is an object broker class for the finite element method.
Definition: FEM_ObjectBroker.h:145
Vector of integers.
Definition: ID.h:93
int recvMsg(int dbTag, int commitTag, Message &, ChannelAddress *theAddress=nullptr)
Invoked to send the data in the Message object theMsg to another Channel object.
Definition: MySqlDatastore.cpp:150
int recvVector(int dbTag, int commitTag, Vector &, ChannelAddress *theAddress=nullptr)
Invoked to receive the data in the Vector object theVector to another Channel object.
Definition: MySqlDatastore.cpp:336
int sendID(int dbTag, int commitTag, const ID &, ChannelAddress *theAddress=nullptr)
Invoked to receive the data in the ID object theID to another Channel object.
Definition: MySqlDatastore.cpp:398
int recvMatrix(int dbTag, int commitTag, Matrix &, ChannelAddress *theAddress=nullptr)
Invoked to receive the data in the Matrix object theMatrix to another Channel object.
Definition: MySqlDatastore.cpp:214
Definition: MySqlDatastore.h:71
int sendVector(int dbTag, int commitTag, const Vector &, ChannelAddress *theAddress=nullptr)
Invoked to receive the data in the Vector object theVector to another Channel object.
Definition: MySqlDatastore.cpp:279
Message between processes.
Definition: Message.h:76
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:34
Definition: ChannelAddress.h:69
Matrix of floats.
Definition: Matrix.h:108
int sendMatrix(int dbTag, int commitTag, const Matrix &, ChannelAddress *theAddress=nullptr)
Invoked to receive the data in the Matrix object theMatrix to another Channel object.
Definition: MySqlDatastore.cpp:158