52 #ifndef MovableObject_h 53 #define MovableObject_h 68 #include "DistributedBase.h" 69 #include "classTags.h" 72 #include "utility/actor/objectBroker/FEM_ObjectBroker.h" 74 #include "CommParameters.h" 78 class FEM_ObjectBroker;
152 T *retval=cp.getBrokedPtr(classTag,ptrFunc);
155 retval->setDbTag(dbTag);
157 std::cerr <<
"getBrokedMovable; can't create object con classTag: " 158 << classTag << std::endl;
virtual int getVariable(const std::string &variable, Information &)
Return the value of the variable idenfified by var.
Definition: MovableObject.cpp:139
void setDbTag(int dbTag)
Sets the object identifier in the database.
Definition: MovableObject.cpp:111
Object that can move between processes.
Definition: MovableObject.h:99
virtual int updateParameter(int parameterID, Information &info)
Updates the parameter identified by parameterID with info.
Definition: MovableObject.cpp:127
Base class for distributed processing.
Definition: DistributedBase.h:40
FEM_ObjectBroker is is an object broker class for the finite element method.
Definition: FEM_ObjectBroker.h:145
virtual int setVariable(const std::string &variable, Information &)
Set the value of the variable idenfified by var.
Definition: MovableObject.cpp:135
int getClassTag(void) const
Return the class identifier.
Definition: MovableObject.cpp:95
virtual int recvSelf(const CommParameters &cp)=0
Receive the object.
virtual int setParameter(const std::vector< std::string > &argv, Parameter ¶m)
Sets the value param to the parameter argv.
Definition: MovableObject.cpp:123
virtual int sendSelf(CommParameters &cp)=0
Send the object.
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:34
MovableObject(int classTag, int dbTag)
Constructor.
Definition: MovableObject.cpp:74
Communication parameters between processes.
Definition: CommParameters.h:65
int getDbTag(void) const
Return the object identifier in the database.
Definition: MovableObject.cpp:99
Definition: Parameter.h:65
MovableObject & operator=(const MovableObject &)
Assignment operator. Doesn't copy the dbTag.
Definition: MovableObject.cpp:88
virtual int activateParameter(int parameterID)
Activates the parameter identified by parameterID.
Definition: MovableObject.cpp:131