xc
|
Strings that can move between processes. More...
#include <MovableStrings.h>
Public Member Functions | |
MovableStrings (std::deque< std::string > &) | |
Constructor. | |
int | sendItem (const std::string &s, Communicator &, DbTagData &, const CommMetaData &) |
Sends a container intem. | |
int | receiveItem (std::string &s, const Communicator &, DbTagData &, const CommMetaData &) |
Receives a container item. | |
const std::deque< std::string > & | getStrings (void) const |
Public Member Functions inherited from XC::MovableContainer< std::deque< std::string > > | |
MovableContainer (std::deque< std::string > &) | |
Constructor. | |
virtual int | sendSelf (Communicator &) |
Sends container through the communicator argument. | |
virtual int | recvSelf (const Communicator &) |
Receive the container through the communicator argument. | |
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 (Communicator &) |
Return the object identifier in the database. | |
void | setDbTag (int dbTag) |
Sets the object identifier in the database. | |
void | setDbTag (Communicator &) |
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 | ~DistributedBase (void) |
Destructor. | |
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. | |
Additional Inherited Members | |
Public Types inherited from XC::MovableContainer< std::deque< std::string > > | |
typedef std::deque< std::string > ::iterator | iterator |
typedef std::deque< std::string > ::const_iterator | const_iterator |
typedef std::deque< std::string > ::reference | reference |
typedef std::deque< std::string > ::const_reference | const_reference |
Protected Member Functions inherited from XC::MovableContainer< std::deque< std::string > > | |
DbTagData & | getDbTagData (void) const |
Returns a vector to store the dbTags of the class members. More... | |
virtual int | sendItem (const_reference s, Communicator &, DbTagData &, const CommMetaData &)=0 |
virtual int | receiveItem (reference s, const Communicator &, DbTagData &, const CommMetaData &)=0 |
int | sendData (Communicator &) |
Send data through the communicator argument. | |
int | recvData (const Communicator &) |
Receive data through the communicator argument. | |
Protected Attributes inherited from XC::MovableContainer< std::deque< std::string > > | |
std::deque< std::string > & | container |
Strings that can move between processes.