![]() |
VR-Link API Documentation for DIS
|
Instances of DtReflectedIff represent Iff object simulated by remote applications. More...
Inheritance diagram for DtReflectedIff:
Collaboration diagram for DtReflectedIff:Public Types | |
| typedef DtIffStateRepository *(* | DtStateRepCreator )() |
| Function prototype for functions that create DtIffStateRepositories. | |
Public Member Functions | |
| DtReflectedIff (DtExerciseConn *conn, const DtGlobalObjectDesignator &emittingEntity, DtU16 systemType, DtU16 systemName, DtU8 systemDesignator) | |
| Constructor. | |
| virtual | ~DtReflectedIff () |
| destructor | |
| virtual DtIffStateRepository * | iffRep () const |
| Get the iff system's state repository. | |
| virtual DtIffStateRepository * | isr () const |
| Synonym for iffRep(). | |
| virtual DtIffStateRepository * | iffStateRep () const |
| Synonym for iffRep(). | |
| virtual DtStateRepository * | stateRep () const |
| Returns a pointer to the StateRepository - through which you can inspect current state information. | |
| virtual void | processStateMessage (const DtStateMsg &msg) |
| Process an electronic emissions PDU. | |
| virtual DtReflectedIff * | next () const |
| Get the next remote iff. | |
| virtual DtReflectedIff * | prev () const |
| Get the previous remote iff. | |
| virtual DtReflectedIff * | wrapNext () const |
| Get the next remote iff. | |
| virtual DtReflectedIff * | wrapPrev () const |
| Get the previous remote iff. | |
| virtual void | addPostUpdateCallback (DtIffCallbackFunction cb, void *userData) |
| iff state callback registration/deregistration. | |
| virtual void | removePostUpdateCallback (DtIffCallbackFunction cb, void *userData) |
| virtual const DtBaseHashKey & | hashKey () const |
| Get a hash key for this object. | |
| virtual const DtGlobalObjectDesignator & | globalId () const |
| Get the iff's object's global object identifier - for DIS, it's the same as its DtEntityIdentifier. | |
| virtual DtString | idString () const |
| Get a string identification of this object. | |
Public Member Functions inherited from DtReflectedObject | |
| DtReflectedObject (DtExerciseConn *conn) | |
| constructor | |
| virtual | ~DtReflectedObject () |
| destructor | |
| 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 | 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. | |
Public Member Functions inherited from DtListedObj | |
| DtListedObj () | |
| Constructor. | |
| virtual | ~DtListedObj () |
| Destructor. | |
Static Public Member Functions | |
| static void | setStateRepCreator (DtStateRepCreator creator) |
| Give us a function to be used for creating SRs. | |
| static DtStateRepCreator | stateRepCreator (void) |
Protected Member Functions | |
| DtReflectedIff (const DtReflectedIff &orig) | |
| copy constructor – not implemented | |
| DtReflectedIff & | operator= (const DtReflectedIff &orig) |
| assignment operator – not implemented | |
Protected Member Functions inherited from DtReflectedObject | |
| 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 | |
| DtIffStateRepository * | myStateRepository |
| DtIFFSystemHashKey | myHashKey |
| DtString | myIdString |
Protected Attributes inherited from DtReflectedObject | |
| DtExerciseConn * | myExConn |
| DtIntrusiveList | myStateUpdateCallbacks |
| DtTime | myLastTimeUpdated |
| DtTime | myLastSimTimeUpdated |
| DtTime | myLastReceivedTimeStamp |
Protected Attributes inherited from DtListedObj | |
| DtList * | myList |
| DtListItem * | myItem |
Static Protected Attributes | |
| static DtStateRepCreator | theStateRepCreator |
Instances of DtReflectedIff represent Iff object simulated by remote applications.
State data can be viewed through its state repository.
| typedef DtIffStateRepository*(* DtReflectedIff::DtStateRepCreator)() |
Function prototype for functions that create DtIffStateRepositories.
| DtReflectedIff::DtReflectedIff | ( | DtExerciseConn * | conn, |
| const DtGlobalObjectDesignator & | emittingEntity, | ||
| DtU16 | systemType, | ||
| DtU16 | systemName, | ||
| DtU8 | systemDesignator | ||
| ) |
Constructor.
|
virtual |
destructor
|
protected |
copy constructor – not implemented
|
virtual |
iff state callback registration/deregistration.
|
virtual |
Get the iff's object's global object identifier - for DIS, it's the same as its DtEntityIdentifier.
Implements DtReflectedObject.
|
virtual |
Get a hash key for this object.
Implements DtReflectedObject.
|
virtual |
Get a string identification of this object.
Implements DtReflectedObject.
|
virtual |
Get the iff system's state repository.
|
virtual |
Synonym for iffRep().
|
virtual |
Synonym for iffRep().
|
virtual |
Get the next remote iff.
Reimplemented from DtListedObj.
|
protected |
assignment operator – not implemented
|
virtual |
Get the previous remote iff.
Reimplemented from DtListedObj.
|
virtual |
Process an electronic emissions PDU.
Implementation for abstract base class.
Reimplemented from DtReflectedObject.
|
virtual |
|
static |
Give us a function to be used for creating SRs.
|
virtual |
Returns a pointer to the StateRepository - through which you can inspect current state information.
Implementation for abstract base class. Calls esr().
Implements DtReflectedObject.
|
static |
|
virtual |
|
virtual |
Get the previous remote iff.
Will cycle back to the last remote iff.
Reimplemented from DtListedObj.
|
protected |
|
protected |
|
protected |
|
staticprotected |