xc
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
XC::MovablePointerContainer< T > Class Template Referenceabstract

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

#include <MovablePointerContainer.h>

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

Public Member Functions

 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 Member Functions

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.
 
virtual int sendData (Communicator &)=0
 
virtual int recvData (const Communicator &)=0
 

Protected Attributes

T *(FEM_ObjectBroker::* ptrFunc )(int)
 

Detailed Description

template<class T>
class XC::MovablePointerContainer< T >

Template class for maps that can move between processes.

Member Function Documentation

◆ getDbTagData()

template<class T >
XC::DbTagData & XC::MovablePointerContainer< T >::getDbTagData ( void  ) const
protectedvirtual

Returns a vector to store the dbTags of the class members.

Reimplemented from XC::DistributedBase.


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