XC Open source finite element analysis program
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
XC::MovableMap< T > Class Template Reference

Template class for maps that can move between processes. More...

#include <MovableMap.h>

Inheritance diagram for XC::MovableMap< T >:
XC::MovableObject XC::DistributedBase

Public Member Functions

 MovableMap (const map_objects &map, T *(FEM_ObjectBroker::*pF)(int))
 Constructor.
 
const map_objects & getMap (void) const
 
int sendSelf (CommParameters &)
 Envia el objeto through the channel being passed as parameter.
 
int recvSelf (const CommParameters &)
 Receives object through the channel being passed as parameter.
 
- Public Member Functions inherited from XC::MovableObject
 MovableObject (int classTag, int dbTag)
 Constructor.
 
 MovableObject (int classTag)
 Constructor.
 
 MovableObject (const MovableObject &otro)
 Copy constructor.
 
MovableObjectoperator= (const MovableObject &otro)
 Operacdor asignación.
 
int getClassTag (void) const
 Returns the tag de la clase.
 
int getDbTag (void) const
 Returns the tag para la database.
 
int getDbTag (CommParameters &)
 Returns the tag para la database.
 
void setDbTag (int dbTag)
 Asigna el tag para la database.
 
void setDbTag (CommParameters &)
 Asigna, sólo si es preciso, el tag para la database.
 
virtual int setParameter (const std::vector< std::string > &argv, Parameter &param)
 
virtual int updateParameter (int parameterID, Information &info)
 
virtual int activateParameter (int parameterID)
 
virtual int setVariable (const std::string &variable, Information &)
 Returns the identificador de la variable cuyo nombre being passed as parameter.
 
virtual int getVariable (const std::string &variable, Information &)
 
- Public Member Functions inherited from XC::DistributedBase
 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

DbTagDatagetDbTagData (void) const
 Returns a vector para almacenar los dbTags de los miembros de la clase.
 
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)
 

Detailed Description

template<class T>
class XC::MovableMap< T >

Template class for maps that can move between processes.


The documentation for this class was generated from the following file: