XC Open source finite element analysis program
Public Member Functions | List of all members
XC::MovableStrings Class Reference

Strings that can move between processes. More...

#include <MovableStrings.h>

Inheritance diagram for XC::MovableStrings:
XC::MovableContainer< std::deque< std::string > > XC::MovableObject XC::DistributedBase

Public Member Functions

 MovableStrings (std::deque< std::string > &)
 Constructor.
 
int sendItem (const std::string &s, CommParameters &, DbTagData &, const CommMetaData &)
 Envía un objecto del contenedor.
 
int receiveItem (std::string &s, const CommParameters &, DbTagData &, const CommMetaData &)
 Recibe un objecto del contenedor.
 
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 (CommParameters &)
 Sends deque through the channel being passed as parameter.
 
virtual int recvSelf (const CommParameters &)
 Recibe el deque 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.
 

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 > >
DbTagDatagetDbTagData (void) const
 Returns a vector para almacenar los dbTags de los miembros de la clase.
 
virtual int sendItem (const_reference s, CommParameters &, DbTagData &, const CommMetaData &)=0
 
virtual int receiveItem (reference s, const CommParameters &, DbTagData &, const CommMetaData &)=0
 
int sendData (CommParameters &)
 Send data through the channel being passed as parameter.
 
int recvData (const CommParameters &)
 Receive data through the channel being passed as parameter.
 
- Protected Attributes inherited from XC::MovableContainer< std::deque< std::string > >
std::deque< std::string > & contenedor
 

Detailed Description

Strings that can move between processes.


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