|
|
| DBDatastore (Preprocessor &, FEM_ObjectBroker &theBroker) |
| |
| | FE_Datastore (Preprocessor &, FEM_ObjectBroker &theBroker) |
| | Constructor. More...
|
| |
|
char * | addToProgram (void) |
| | Return \(nullptr\).
|
| |
|
int | setUpConnection (void) |
| |
|
int | setNextAddress (const ChannelAddress &otherChannelAddress) |
| | Return \(0\).
|
| |
|
ChannelAddress * | getLastSendersAddress (void) |
| | Return \(nullptr\).
|
| |
| int | sendObj (int commitTag, MovableObject &theObject, ChannelAddress *theAddress=0) |
| | Call {sendSelf(commitTag, *this, theBroker)} on theObject and return the result. More...
|
| |
| int | recvObj (int commitTag, MovableObject &theObject, FEM_ObjectBroker &theBroker, ChannelAddress *theAddress=0) |
| | Call {recvSelf(commitTag, *this, theBroker)} on theObject and return the result. More...
|
| |
| int | getDbTag (void) const |
| | To return a unique integer identifier at each call. More...
|
| |
|
virtual bool | isDatastore (void) const |
| | Return true (this channel type IS a Datastore).
|
| |
| virtual int | commitState (int commitTag) |
| | Stores the current state on the database. More...
|
| |
| virtual int | restoreState (int commitTag) |
| | Invoked to restore the state of the domain from a database. More...
|
| |
| bool | isSaved (int commitTag) const |
| | Returns true if the state identified by commitTag was previously saved on the database. More...
|
| |
|
virtual int | createTable (const std::string &tableName, const std::vector< std::string > &) |
| |
|
virtual int | insertData (const std::string &tableName, const std::vector< std::string > &, int commitTag, const Vector &data) |
| |
|
virtual int | getData (const std::string &tableName, const std::vector< std::string > &, int commitTag, Vector &data) |
| |
|
int | save (const int &commitTag) |
| |
|
int | restore (const int &commitTag) |
| |
|
| Channel (CommandEntity *owr=nullptr) |
| | Constructor.
|
| |
|
bool | checkDbTag (const int &dbTag) |
| | Check if a dbTag is already used.
|
| |
|
const ID & | getUsedTags (void) const |
| | Return the list of dbTags already used.
|
| |
|
void | clearDbTags (void) |
| | Reset used database tags set.
|
| |
|
int | getTag (void) const |
| | Return the object tag.
|
| |
|
template<class inputIterator > |
| int | sendObjs (int commitTag, const inputIterator &first, const inputIterator &last, ChannelAddress *theAddress=nullptr) |
| | Send the objects on interval [first,last).
|
| |
|
template<class inputIterator > |
| int | recvObjs (int commitTag, const inputIterator &first, const inputIterator &last, FEM_ObjectBroker &, ChannelAddress *theAddress=nullptr) |
| | Receive an object sequence.
|
| |
| virtual int | sendMsg (int dbTag, int commitTag, const Message &theMsg, ChannelAddress *theAddress=nullptr)=0 |
| | A method invoked to send the data in the Message object theMsg to another Channel object. More...
|
| |
| virtual int | recvMsg (int dbTag, int commitTag, Message &theMsg, ChannelAddress *theAddress=nullptr)=0 |
| | Invoked to send the data in the Message object theMsg to another Channel object. More...
|
| |
| virtual int | sendMatrix (int dbTag, int commitTag, const Matrix &theMatrix, ChannelAddress *theAddress=nullptr)=0 |
| | Invoked to receive the data in the Matrix object theMatrix to another Channel object. More...
|
| |
| virtual int | recvMatrix (int dbTag, int commitTag, Matrix &theMatrix, ChannelAddress *theAddress=nullptr)=0 |
| | Invoked to receive the data in the Matrix object theMatrix to another Channel object. More...
|
| |
| virtual int | sendVector (int dbTag, int commitTag, const Vector &theVector, ChannelAddress *theAddress=nullptr)=0 |
| | Invoked to receive the data in the Vector object theVector to another Channel object. More...
|
| |
| virtual int | recvVector (int dbTag, int commitTag, Vector &theVector, ChannelAddress *theAddress=nullptr)=0 |
| | Invoked to receive the data in the Vector object theVector to another Channel object. More...
|
| |
| virtual int | sendID (int dbTag, int commitTag, const ID &theID, ChannelAddress *theAddress=nullptr)=0 |
| | Invoked to receive the data in the ID object theID to another Channel object. More...
|
| |
| virtual int | recvID (int dbTag, int commitTag, ID &theID, ChannelAddress *theAddress=nullptr)=0 |
| | Invoked to receive the data in the ID object theID to another Channel object. More...
|
| |