Public Member Functions |
| | DtReflectedEntity (DtHlaObject *obj, DtExerciseConn *conn) |
| | constructor
|
| | DtReflectedEntity (DtExerciseConn *conn, DtEntityStateRepository *esrToUse) |
| | Constructor with state rep to use passed in Note that setHlaObject() should be called after a reflected entity is created with this method.
|
| | DtReflectedEntity (DtHlaObject *obj, DtExerciseConn *conn, DtBaseStateRepCreator esrToUse) |
| | Constructor with entity state repository creator passed in.
|
| virtual | ~DtReflectedEntity () |
| | destructor
|
| virtual DtEntityStateRepository * | entityStateRep () const |
| | Returns a pointer to the EntityStateRepository - through which you can inspect current state information.
|
| virtual DtEntityStateRepository * | esr () const |
| | Synonym for entityStateRep().
|
| virtual DtReflectedEntity * | next () const |
| | Get the next remote entity.
|
| virtual DtReflectedEntity * | prev () const |
| | Get the previous remote entity.
|
| virtual DtReflectedEntity * | wrapNext () const |
| | Get the next remote entity.
|
| virtual DtReflectedEntity * | wrapPrev () const |
| | Get the previous remote entity.
|
| virtual void | addPostUpdateCallback (DtEntityCallbackFunction cb, void *userData) |
| | Entity state callback registration/deregistration.
|
| virtual void | removePostUpdateCallback (DtEntityCallbackFunction cb, void *userData) |
| virtual void | diGuyObjectUpdated () |
| virtual RTI::ObjectHandle | entityObjectId () const |
| | For backwards compatibility. Use id() instead.
|
| | 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.
|
| | DtListedObj () |
| | Constructor.
|
| virtual | ~DtListedObj () |
| | Destructor.
|
Instances of DtReflectedEntity are used to represent a simulation entity reflected across a network (i.e.
this is not a full simulation running on this machine).