xc
|
Template class for maps that can move between processes. More...
#include <MovableMap.h>
Public Member Functions | |
MovableMap (const map_objects &map, T *(FEM_ObjectBroker::*pF)(int)) | |
Constructor. | |
const map_objects & | getMap (void) const |
int | sendSelf (CommParameters &) |
Send the object through the channel being passed as parameter. | |
int | recvSelf (const CommParameters &) |
Receives object through the channel being passed as parameter. | |
![]() | |
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 (CommParameters &) |
Return the object identifier in the database. | |
void | setDbTag (int dbTag) |
Sets the object identifier in the database. | |
void | setDbTag (CommParameters &) |
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 . | |
![]() | |
DistributedBase (void) | |
Constructor. | |
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. | |
Protected Types | |
typedef std::map< std::string, T * > | map_objects |
typedef map_objects::iterator | iterator |
Protected Member Functions | |
DbTagData & | getDbTagData (void) const |
Returns a vector to store the dbTags of the class members. More... | |
int | sendData (CommParameters &) |
Send members through the channel being passed as parameter. | |
int | recvData (const CommParameters &) |
Receives members through the channel being passed as parameter. | |
Protected Attributes | |
map_objects | objects |
T *(FEM_ObjectBroker::* | ptrFunc )(int) |
Template class for maps that can move between processes.
|
protectedvirtual |
Returns a vector to store the dbTags of the class members.
Reimplemented from XC::DistributedBase.