![]() |
VR-Link API Documentation for DIS
|
Instances of DtReflectedObject are used to represent a simulation entity reflected across a network (i.e. More...
Inheritance diagram for DtReflectedObject:
Collaboration diagram for DtReflectedObject:Public Member Functions | |
| DtReflectedObject (DtExerciseConn *conn) | |
| constructor | |
| virtual | ~DtReflectedObject () |
| destructor | |
| virtual DtStateRepository * | stateRep () const =0 |
| Returns a pointer to the StateRepository - through which you can inspect current state information. | |
| virtual DtStateRepository * | sr () const |
| Synonym for stateRep(). | |
| virtual DtTime | lastTimeUpdated () const |
| Returns the value of wallclock time at the time an update was last received for the entity. | |
| virtual DtTime | lastSimTimeUpdated () const |
| Returns the value of sim time at the time an update was last received for the entity. | |
| virtual DtTime | lastReceivedTimeStamp () const |
| Returns the value in seconds past the hour of the timeStamp from the last received PDU. | |
| virtual void | processStateMessage (const DtStateMsg &msg) |
| Process an entity state PDU. | |
| 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. | |
| virtual const DtBaseHashKey & | hashKey () const =0 |
| Get a hash key for this object. | |
| virtual DtString | idString () const =0 |
| Get a string identification of this object. | |
| virtual const DtGlobalObjectDesignator & | globalId () const =0 |
| Get the Global ID for this object. | |
Protected Member Functions | |
| DtReflectedObject (const DtReflectedObject &orig) | |
| copy constructor -- not implemented | |
| DtReflectedObject & | operator= (const DtReflectedObject &orig) |
| assignment operator -- not implemented | |
| virtual void | processPostUpdateCallbacks () |
| Process the post update callbacks. | |
Protected Attributes | |
| DtExerciseConn * | myExConn |
| DtIntrusiveList | myStateUpdateCallbacks |
| DtTime | myLastTimeUpdated |
| DtTime | myLastSimTimeUpdated |
| DtTime | myLastReceivedTimeStamp |
Instances of DtReflectedObject are used to represent a simulation entity reflected across a network (i.e.
this is not a full simulation running on this machine).
constructor
| virtual DtReflectedObject::~DtReflectedObject | ( | ) | [virtual] |
destructor
| DtReflectedObject::DtReflectedObject | ( | const DtReflectedObject & | orig | ) | [protected] |
copy constructor -- not implemented
| virtual void DtReflectedObject::baseAddPostUpdateCallback | ( | DtReflectedObjectCallbackFunction | cb, |
| void * | userData | ||
| ) | [virtual] |
Object state callback registration/deregistration.
| virtual void DtReflectedObject::baseRemovePostUpdateCallback | ( | DtReflectedObjectCallbackFunction | cb, |
| void * | userData | ||
| ) | [virtual] |
| virtual const DtGlobalObjectDesignator& DtReflectedObject::globalId | ( | ) | const [pure virtual] |
Get the Global ID for this object.
Implemented in DtReflectedDesignator, DtReflectedEmitterSystem, DtReflectedIff, DtReflectedEntity, DtReflectedGriddedData, DtReflectedEnvironmentProcess, DtReflectedRadioReceiver, DtReflectedRadioTransmitter, and DtReflectedAggregate.
| virtual const DtBaseHashKey& DtReflectedObject::hashKey | ( | ) | const [pure virtual] |
Get a hash key for this object.
Implemented in DtReflectedEntity, DtReflectedRadioReceiver, DtReflectedRadioTransmitter, DtReflectedGriddedData, DtReflectedEnvironmentProcess, DtReflectedAggregate, DtReflectedDesignator, DtReflectedEmitterSystem, and DtReflectedIff.
| virtual DtString DtReflectedObject::idString | ( | ) | const [pure virtual] |
Get a string identification of this object.
Implemented in DtReflectedEntity, DtReflectedRadioReceiver, DtReflectedRadioTransmitter, DtReflectedGriddedData, DtReflectedEnvironmentProcess, DtReflectedAggregate, DtReflectedIff, DtReflectedDesignator, and DtReflectedEmitterSystem.
| virtual DtTime DtReflectedObject::lastReceivedTimeStamp | ( | ) | const [virtual] |
Returns the value in seconds past the hour of the timeStamp from the last received PDU.
| virtual DtTime DtReflectedObject::lastSimTimeUpdated | ( | ) | const [virtual] |
Returns the value of sim time at the time an update was last received for the entity.
| virtual DtTime DtReflectedObject::lastTimeUpdated | ( | ) | const [virtual] |
Returns the value of wallclock time at the time an update was last received for the entity.
| virtual DtReflectedObject* DtReflectedObject::nextObj | ( | ) | const [virtual] |
Get the next remote object.
| DtReflectedObject& DtReflectedObject::operator= | ( | const DtReflectedObject & | orig | ) | [protected] |
assignment operator -- not implemented
| virtual DtReflectedObject* DtReflectedObject::prevObj | ( | ) | const [virtual] |
Get the previous remote object.
| virtual void DtReflectedObject::processPostUpdateCallbacks | ( | ) | [protected, virtual] |
Process the post update callbacks.
| virtual void DtReflectedObject::processStateMessage | ( | const DtStateMsg & | msg | ) | [virtual] |
Process an entity state PDU.
Reimplemented in DtReflectedRadioReceiver, DtReflectedRadioTransmitter, DtReflectedEntity, DtReflectedGriddedData, DtReflectedEnvironmentProcess, DtReflectedAggregate, DtReflectedDesignator, DtReflectedEmitterSystem, and DtReflectedIff.
| virtual DtStateRepository* DtReflectedObject::sr | ( | ) | const [virtual] |
Synonym for stateRep().
| virtual DtStateRepository* DtReflectedObject::stateRep | ( | ) | const [pure virtual] |
Returns a pointer to the StateRepository - through which you can inspect current state information.
Implemented in DtReflectedEntity, DtReflectedAggregate, DtReflectedGriddedData, DtReflectedEnvironmentProcess, DtReflectedRadioReceiver, DtReflectedRadioTransmitter, DtReflectedEmitterSystem, DtReflectedIff, and DtReflectedDesignator.
| virtual DtReflectedObject* DtReflectedObject::wrapNextObj | ( | ) | const [virtual] |
Get the next remote object.
Will cycle back to the first remote object.
| virtual DtReflectedObject* DtReflectedObject::wrapPrevObj | ( | ) | const [virtual] |
Get the previous remote object.
Will cycle back to the last remote object.
DtExerciseConn* DtReflectedObject::myExConn [protected] |
DtTime DtReflectedObject::myLastReceivedTimeStamp [protected] |
DtTime DtReflectedObject::myLastSimTimeUpdated [protected] |
DtTime DtReflectedObject::myLastTimeUpdated [protected] |