Public Member Functions |
| | DtReflectedGenericObject (DtHlaObject *obj, DtExerciseConn *conn) |
| | constructor
|
| virtual | ~DtReflectedGenericObject () |
| | destructor
|
| virtual DtStateRepository * | genericStateRep () const |
| | Returns a pointer to the DtStateRepository, through which you can inspect current state information.
|
| virtual DtStateRepository * | gsr () const |
| | Synonym for genericStateRep().
|
| virtual DtReflectedGenericObject * | next () const |
| | Functions to get the next and previous objects in the list.
|
| virtual DtReflectedGenericObject * | prev () const |
| virtual DtReflectedGenericObject * | wrapNext () const |
| virtual DtReflectedGenericObject * | wrapPrev () const |
| virtual void | addPostUpdateCallback (DtGenericObjectCallbackFunction cb, void *userData) |
| | Registration/deregistration of postUpdate callbacks.
|
| virtual void | removePostUpdateCallback (DtGenericObjectCallbackFunction cb, void *userData) |
| | DtReflectedObject (DtExerciseConn *conn, DtStateRepository *stateRep) |
| | Primary constructor.
|
| | DtReflectedObject (DtHlaObject *obj, DtExerciseConn *conn, DtBaseStateRepCreator creator) |
| | Older constructor.
|
| | DtReflectedObject (const DtObjectId &id, const DtGlobalObjectDesignator &des, DtExerciseConn *conn, DtBaseStateRepCreator creator) |
| | Older constructor.
|
| virtual | ~DtReflectedObject () |
| | destructor
|
| virtual DtStateRepository * | stateRep () const |
| | Returns a pointer to the StateRepository - through which you can inspect current state information.
|
| virtual DtStateRepository * | sr () const |
| | Synonym for stateRep().
|
| virtual DtHlaStateDecoder * | decoder () |
| | Returns a pointer to the Decoder being used to decode state messages into our SR.
|
| virtual DtHlaObjectWithStateRep * | hlaObject () const |
| | Get the entity's hlaObject (DtHlaObjectWithStateRep is derived from DtHlaObject).
|
| virtual const DtObjectId & | objectId () const |
| | Get the HLA object's id.
|
| virtual const DtObjectId & | id () const |
| | Get the HLA object's id (local ID).
|
| virtual const DtObjectId & | localId () const |
| | Get the HLA object's id (local ID).
|
| virtual const DtString & | name () const |
| | Get the HLA object name.
|
virtual const
DtGlobalObjectDesignator & | globalId () const |
| | Get the HLA object's global object designator - the object name in HLA.
|
| virtual const DtString & | lastProducingFederate () const |
| | Get the name of the last federate that produced a reflected update.
|
| virtual DtTime | lastSimTimeUpdated () const |
| | Returns the value of simulation time at the time an update was last received for the entity.
|
| virtual DtTime | lastReceivedTimeStamp () const |
| | Returns the value of the time send in the last Update received for this entity.
|
| virtual void | baseAddPostUpdateCallback (DtReflectedObjectCallbackFunction cb, void *userData) |
| | Object state callback registration/deregistration.
|
| virtual void | baseRemovePostUpdateCallback (DtReflectedObjectCallbackFunction cb, void *userData) |
| virtual DtReflectedObject * | nextObj () const |
| | Get the next remote object.
|
| virtual DtReflectedObject * | prevObj () const |
| | Get the previous remote object.
|
| virtual DtReflectedObject * | wrapNextObj () const |
| | Get the next remote object.
|
| virtual DtReflectedObject * | wrapPrevObj () const |
| | Get the previous remote object.
|
| void | setHlaObject (DtHlaObject *obj, DtHlaStateDecoder *decoder=NULL) |
| | Start reflecting this object, using this decoder.
|
| virtual void | setNoHlaObject (const DtObjectId &id, const DtGlobalObjectDesignator &des) |
| | Used to set up a proxy DtReflectedEntity - one that is not actually managing a real reflected HLA object.
|
| void | detachHlaObject () |
| | Ends managing of current HLA object.
|
| virtual void | requestUpdate () |
| | Request that the owner of this entity send an attribute update.
|
Instances of DtReflectedGenericObject are used to represent "GenericObject" objects simulated remotely, that we hear about through the RTI.
Instances are created and deleted automatically by DtReflectedGenericObjectList in response to discover and remove RTI service invocations. This class is derived from DtDtReflectedObject, which does most of the work. The derived class mostly exists to provide type safety, and to configure the base class object.