![]() |
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 More... | |
| virtual | ~DtReflectedObject () |
| destructor More... | |
| virtual DtStateRepository * | stateRep () const =0 |
| Returns a pointer to the StateRepository - through which you can inspect current state information. More... | |
| virtual DtStateRepository * | sr () const |
| Synonym for stateRep(). More... | |
| virtual DtTime | lastTimeUpdated () const |
| Returns the value of wallclock time at the time an update was last received for the entity. More... | |
| virtual DtTime | lastSimTimeUpdated () const |
| Returns the value of sim time at the time an update was last received for the entity. More... | |
| virtual DtTime | lastReceivedTimeStamp () const |
| Returns the value in seconds past the hour of the timeStamp from the last received PDU. More... | |
| virtual void | processStateMessage (const DtStateMsg &msg) |
| Process an entity state PDU. More... | |
| virtual void | baseAddPostUpdateCallback (DtReflectedObjectCallbackFunction cb, void *userData) |
| Object state callback registration/deregistration. More... | |
| virtual void | baseRemovePostUpdateCallback (DtReflectedObjectCallbackFunction cb, void *userData) |
| virtual DtReflectedObject * | nextObj () const |
| Get the next remote object. More... | |
| virtual DtReflectedObject * | prevObj () const |
| Get the previous remote object. More... | |
| virtual DtReflectedObject * | wrapNextObj () const |
| Get the next remote object. More... | |
| virtual DtReflectedObject * | wrapPrevObj () const |
| Get the previous remote object. More... | |
| virtual const DtBaseHashKey & | hashKey () const =0 |
| Get a hash key for this object. More... | |
| virtual DtString | idString () const =0 |
| Get a string identification of this object. More... | |
| virtual const DtGlobalObjectDesignator & | globalId () const =0 |
| Get the Global ID for this object. More... | |
Public Member Functions inherited from DtListedObj | |
| DtListedObj () | |
| Constructor. More... | |
| virtual | ~DtListedObj () |
| Destructor. More... | |
| void * | next () const |
| Return next (previous) elements on the list, or NULL if hit the end (beginning) of the list. More... | |
| void * | prev () const |
| void * | wrapNext () const |
| Return next (previous) elements on the list, but wrap to the beginning (end) of the list when you hit the end (beginning). More... | |
| void * | wrapPrev () const |
Protected Member Functions | |
| DtReflectedObject (const DtReflectedObject &orig) | |
| copy constructor – not implemented More... | |
| DtReflectedObject & | operator= (const DtReflectedObject &orig) |
| assignment operator – not implemented More... | |
| virtual void | processPostUpdateCallbacks () |
| Process the post update callbacks. More... | |
Protected Attributes | |
| DtExerciseConn * | myExConn |
| DtIntrusiveList | myStateUpdateCallbacks |
| DtTime | myLastTimeUpdated |
| DtTime | myLastSimTimeUpdated |
| DtTime | myLastReceivedTimeStamp |
Protected Attributes inherited from DtListedObj | |
| DtList * | myList |
| DtListItem * | myItem |
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).
| DtReflectedObject::DtReflectedObject | ( | DtExerciseConn * | conn | ) |
constructor
|
virtual |
destructor
|
protected |
copy constructor – not implemented
|
virtual |
Object state callback registration/deregistration.
|
virtual |
|
pure virtual |
Get the Global ID for this object.
Implemented in DtReflectedEntity, DtReflectedDesignator, DtReflectedIff, DtReflectedEmitterSystem, DtReflectedUnderwaterAcoustics, DtReflectedActiveSonar, DtReflectedAdditionalPassiveActivities, DtReflectedDirectedEnergyFire, DtReflectedPropulsionNoise, DtReflectedPointObject, DtReflectedArealObject, DtReflectedLinearObject, DtReflectedEnvironmentProcess, DtReflectedGriddedData, DtReflectedRadioReceiver, DtReflectedRadioTransmitter, and DtReflectedAggregate.
|
pure virtual |
Get a hash key for this object.
Implemented in DtReflectedEntity, DtReflectedRadioReceiver, DtReflectedRadioTransmitter, DtReflectedEnvironmentProcess, DtReflectedGriddedData, DtReflectedAggregate, DtReflectedIff, DtReflectedDesignator, DtReflectedEmitterSystem, DtReflectedUnderwaterAcoustics, DtReflectedActiveSonar, DtReflectedAdditionalPassiveActivities, DtReflectedDirectedEnergyFire, DtReflectedPropulsionNoise, DtReflectedPointObject, DtReflectedArealObject, and DtReflectedLinearObject.
|
pure virtual |
Get a string identification of this object.
Implemented in DtReflectedEntity, DtReflectedRadioReceiver, DtReflectedRadioTransmitter, DtReflectedEnvironmentProcess, DtReflectedGriddedData, DtReflectedAggregate, DtReflectedIff, DtReflectedDesignator, DtReflectedEmitterSystem, DtReflectedUnderwaterAcoustics, DtReflectedActiveSonar, DtReflectedAdditionalPassiveActivities, DtReflectedDirectedEnergyFire, DtReflectedPropulsionNoise, DtReflectedPointObject, DtReflectedArealObject, and DtReflectedLinearObject.
|
virtual |
Returns the value in seconds past the hour of the timeStamp from the last received PDU.
|
virtual |
Returns the value of sim time at the time an update was last received for the entity.
|
virtual |
Returns the value of wallclock time at the time an update was last received for the entity.
|
virtual |
Get the next remote object.
|
protected |
assignment operator – not implemented
|
virtual |
Get the previous remote object.
|
protectedvirtual |
Process the post update callbacks.
|
virtual |
Process an entity state PDU.
Reimplemented in DtReflectedEntity, DtReflectedRadioReceiver, DtReflectedRadioTransmitter, DtReflectedEnvironmentProcess, DtReflectedGriddedData, DtReflectedAggregate, DtReflectedIff, DtReflectedUnderwaterAcoustics, DtReflectedActiveSonar, DtReflectedAdditionalPassiveActivities, DtReflectedDesignator, DtReflectedEmitterSystem, DtReflectedPropulsionNoise, DtReflectedDirectedEnergyFire, DtReflectedPointObject, DtReflectedArealObject, and DtReflectedLinearObject.
|
virtual |
Synonym for stateRep().
|
pure virtual |
Returns a pointer to the StateRepository - through which you can inspect current state information.
Implemented in DtReflectedEntity, DtReflectedIff, DtReflectedAggregate, DtReflectedEnvironmentProcess, DtReflectedGriddedData, DtReflectedRadioReceiver, DtReflectedRadioTransmitter, DtReflectedEmitterSystem, DtReflectedUnderwaterAcoustics, DtReflectedActiveSonar, DtReflectedAdditionalPassiveActivities, DtReflectedDesignator, DtReflectedDirectedEnergyFire, DtReflectedPropulsionNoise, DtReflectedPointObject, DtReflectedArealObject, and DtReflectedLinearObject.
|
virtual |
Get the next remote object.
Will cycle back to the first remote object.
|
virtual |
Get the previous remote object.
Will cycle back to the last remote object.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |