![]() |
VR-Link API Documentation for HLA 1.3
|
Instances of DtUnknownHlaObject are used to store attributes for HLA objects which are not known by our FOM. More...
Inheritance diagram for DtUnknownHlaObject:
Collaboration diagram for DtUnknownHlaObject:Public Member Functions | |
| DtUnknownHlaObject (DtExerciseConn *exConn, const char *name, DtObjClassDesc &classDesc) | |
| Constructor for local objects. | |
| DtUnknownHlaObject (DtExerciseConn *exConn, RTI::ObjectHandle id, const char *name, DtObjClassDesc &classDesc) | |
| Constructor for reflected objects. | |
| virtual | ~DtUnknownHlaObject () |
| destructor | |
| virtual void | update () |
| Does nothing. | |
| virtual void | update (const RTI::AttributeHandleValuePairSet &ahvps) |
| Sends the ahpvs through our DtExerciseConn. | |
Protected Member Functions | |
| DtUnknownHlaObject (const DtUnknownHlaObject &orig) | |
| copy constructor | |
| DtUnknownHlaObject & | operator= (const DtUnknownHlaObject &orig) |
| assignment operator | |
| virtual void | reflect (const DtStateMsg &stateMsg) |
| Does nothing. | |
Instances of DtUnknownHlaObject are used to store attributes for HLA objects which are not known by our FOM.
| DtUnknownHlaObject::DtUnknownHlaObject | ( | DtExerciseConn * | exConn, |
| const char * | name, | ||
| DtObjClassDesc & | classDesc | ||
| ) |
Constructor for local objects.
| DtUnknownHlaObject::DtUnknownHlaObject | ( | DtExerciseConn * | exConn, |
| RTI::ObjectHandle | id, | ||
| const char * | name, | ||
| DtObjClassDesc & | classDesc | ||
| ) |
Constructor for reflected objects.
| virtual DtUnknownHlaObject::~DtUnknownHlaObject | ( | ) | [virtual] |
destructor
| DtUnknownHlaObject::DtUnknownHlaObject | ( | const DtUnknownHlaObject & | orig | ) | [protected] |
copy constructor
| DtUnknownHlaObject& DtUnknownHlaObject::operator= | ( | const DtUnknownHlaObject & | orig | ) | [protected] |
assignment operator
| virtual void DtUnknownHlaObject::reflect | ( | const DtStateMsg & | stateMsg | ) | [protected, virtual] |
Does nothing.
You can access information from incoming update messages by using DtHlaObject::addPostReflectCb to register a function that will be called whenever an update msg is received.
Implements DtHlaObject.
| virtual void DtUnknownHlaObject::update | ( | ) | [virtual] |
Does nothing.
Use the version of update that takes an ahpvs to send data for a DtUnknownHlaObject.
Reimplemented from DtHlaObject.
| virtual void DtUnknownHlaObject::update | ( | const RTI::AttributeHandleValuePairSet & | ahvps | ) | [virtual] |
Sends the ahpvs through our DtExerciseConn.
Does not look at the contents of ahvps. It is the caller's responsibility to insure that all attributes in the message are in the set of attributes needed by the federation (obtained using attributesNeededByFederation). It is also the responsibility of the user of DtUnknownHlaObject to insure that requested attributes (obtained via requestedAttributes) get updated in a timely manner. clearRequestedAttributes should be called after each time requested attributes are updated.