xc
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 &)
 Sends a container intem.
 
int receiveItem (std::string &s, const CommParameters &, 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 (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. More...
 
 MovableObject (int classTag)
 Constructor. More...
 
 MovableObject (const MovableObject &)
 Copy constructor. Doesn't copy the dbTag.
 
MovableObjectoperator= (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 &param)
 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.
 
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 to store the dbTags of the class members. More...
 
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 > & container
 

Detailed Description

Strings that can move between processes.


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