xc
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
XC::MovableDeque< T > Class Template Reference

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

#include <MovableDeque.h>

Inheritance diagram for XC::MovableDeque< T >:
Inheritance graph
[legend]
Collaboration diagram for XC::MovableDeque< T >:
Collaboration graph
[legend]

Public Member Functions

 MovableDeque (const deque_objects &deque, T *(FEM_ObjectBroker::*pF)(int))
 Constructor.
 
const deque_objects & getDeque (void) const
 
- Public Member Functions inherited from XC::MovablePointerContainer< T >
 MovablePointerContainer (const int &, T *(FEM_ObjectBroker::*pF)(int))
 Constructor.
 
int sendSelf (Communicator &)
 Send the object through the communicator argument.
 
int recvSelf (const Communicator &)
 Receives object through the communicator argument.
 
- 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 (Communicator &)
 Return the object identifier in the database.
 
void setDbTag (int dbTag)
 Sets the object identifier in the database.
 
void setDbTag (Communicator &)
 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.
 
virtual ~DistributedBase (void)
 Destructor.
 
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::deque< T * > deque_objects
 
typedef deque_objects::const_iterator const_iterator
 
typedef deque_objects::iterator iterator
 

Protected Member Functions

int sendData (Communicator &)
 Send members through the communicator argument.
 
int recvData (const Communicator &)
 Receives members through the communicator argument.
 
- Protected Member Functions inherited from XC::MovablePointerContainer< T >
DbTagDatagetDbTagData (void) const
 Returns a vector to store the dbTags of the class members. More...
 
T * getBrokedObject (const int &, const int &, const Communicator &)
 Returns an empty object of the class identified by classTag.
 

Protected Attributes

deque_objects objects
 
- Protected Attributes inherited from XC::MovablePointerContainer< T >
T *(FEM_ObjectBroker::* ptrFunc )(int)
 

Detailed Description

template<class T>
class XC::MovableDeque< T >

Template class for maps that can move between processes.


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