xc
|
NodeLocker container. More...
#include <NodeLockers.h>
Public Member Functions | |
const std::string | getCurrentNodeLockerId (void) const |
NodeLocker * | getCurrentNodeLockerPtr (void) |
const NodeLocker * | getCurrentNodeLockerPtr (void) const |
void | clearAll (void) |
Clears all the objects. | |
Domain * | getDomain (void) |
Returns the domain. | |
const Domain * | getDomain (void) const |
Returns the domain. | |
void | removeFromDomain (const std::string &) |
void | removeAllFromDomain (void) |
NodeLocker * | buscaNodeLocker (const int &tag) |
Returns a pointer to the blocker whose tag is passed as parameter. | |
const NodeLocker * | buscaNodeLocker (const int &tag) const |
Returns a pointer to the blocker whose tag is passed as parameter. | |
const int & | getTag (void) const |
virtual int | sendSelf (CommParameters &) |
Sends object through the channel being passed as parameter. | |
virtual 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 Member Functions | |
NodeLocker * | busca_node_locker (const std::string &) |
Returns a pointer to the blocker whose name is passed as parameter. | |
const NodeLocker * | busca_node_locker (const std::string &) const |
Returns a pointer to the blocker whose name is passed as parameter. | |
NodeLocker * | newNodeLocker (const std::string &nmb) |
void | borraNodeLocker (const std::string &nmb) |
DbTagData & | getDbTagData (void) const |
Returns a vector to store the dbTags of the class members. More... | |
int | sendData (CommParameters &cp) |
Send members through the channel being passed as parameter. | |
int | recvData (const CommParameters &cp) |
Receives members through the channel being passed as parameter. | |
NodeLockers (Mesh *owr) | |
Default constructor. | |
~NodeLockers (void) | |
Destructor. | |
Friends | |
class | Mesh |
NodeLocker container.
|
protectedvirtual |
Returns a vector to store the dbTags of the class members.
Reimplemented from XC::DistributedBase.