![]() |
VR-Link API Documentation for DIS
|
Instances of DtReflectedGriddedData represent Gridded Data objects simulated by remote applications. More...
Inheritance diagram for DtReflectedGriddedData:
Collaboration diagram for DtReflectedGriddedData:Public Types | |
| typedef DtGriddedDataRepository *(* | DtStateRepCreator )() |
| Function prototype for functions that create DtGriddedDataRepositories. | |
Public Member Functions | |
| DtReflectedGriddedData (DtExerciseConn *conn, const DtEntityIdentifier &id, const DtEntityType &type) | |
| constructor | |
| virtual | ~DtReflectedGriddedData () |
| destructor | |
| virtual DtGriddedDataRepository * | griddedDataStateRep () const |
| Returns ptr to griddedDataStateRepository – through which you can inspect current state info. | |
| virtual DtGriddedDataRepository * | gdsr () const |
| Synonym for griddedDataStateRep. | |
| virtual DtStateRepository * | stateRep () const |
| Implementation for abstract base class. Calls gdsr(). | |
| virtual DtGriddedDataDecoder * | decoder () |
| Returns a pointer to the Decoder being used to decode state messages into our GDSR. | |
| virtual const DtEntityIdentifier & | entityId () const |
| Returns the entity identifier. | |
| virtual const DtObjectId & | id () const |
| Get the gridded data's id. (For DIS, DtObjectId is DtEntityIdentifier). | |
| virtual const DtObjectId & | localId () const |
| Get the gridded data's local id. For DIS - same as id(). | |
| virtual const DtGlobalObjectDesignator & | globalId () const |
| Get the gridded data's object's global object designator - for DIS, it's the same as its DtEntityIdentifier. | |
| virtual void | processStateMessage (const DtStateMsg &msg) |
| Process an environment process state PDU. | |
| virtual DtReflectedGriddedData * | next () const |
| Get the next and previous elements in the reflected environment process list. | |
| virtual DtReflectedGriddedData * | prev () const |
| virtual DtReflectedGriddedData * | wrapNext () const |
| Get the next and previous elements, wrap at the ends of the list. | |
| virtual DtReflectedGriddedData * | wrapPrev () const |
| virtual void | addPostUpdateCallback (DtGriddedDataCallbackFunction cb, void *userData) |
| Environment Process callback registration/deregistration. | |
| virtual void | removePostUpdateCallback (DtGriddedDataCallbackFunction cb, void *userData) |
| virtual const DtBaseHashKey & | hashKey () const |
| Get a hash key for this object. | |
| virtual DtString | idString () const |
| Get a string identification of this object. | |
| virtual void | processGriddedData (const DtGriddedDataPdu &pdu) |
| Process an environmentalProcess PDU. | |
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 | |
| DtReflectedGriddedData (const DtReflectedGriddedData &orig) | |
| copy constructor – not implemented | |
| DtReflectedGriddedData & | operator= (const DtReflectedGriddedData &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 | |
| DtEntityIdentifier | myId |
| DtGriddedDataRepository * | myStateRep |
| DtGriddedDataDecoder * | myDecoder |
| DtEntityIdentifierHashKey | myHashKey |
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 DtReflectedGriddedData represent Gridded Data objects simulated by remote applications.
State data can be viewed through its state repository.
| typedef DtGriddedDataRepository*(* DtReflectedGriddedData::DtStateRepCreator)() |
Function prototype for functions that create DtGriddedDataRepositories.
| DtReflectedGriddedData::DtReflectedGriddedData | ( | DtExerciseConn * | conn, |
| const DtEntityIdentifier & | id, | ||
| const DtEntityType & | type | ||
| ) |
constructor
|
virtual |
destructor
|
protected |
copy constructor – not implemented
|
virtual |
Environment Process callback registration/deregistration.
|
virtual |
Returns a pointer to the Decoder being used to decode state messages into our GDSR.
|
virtual |
Returns the entity identifier.
|
virtual |
Synonym for griddedDataStateRep.
|
virtual |
Get the gridded data's object's global object designator - for DIS, it's the same as its DtEntityIdentifier.
Implements DtReflectedObject.
|
virtual |
Returns ptr to griddedDataStateRepository – through which you can inspect current state info.
|
virtual |
Get a hash key for this object.
Implements DtReflectedObject.
|
virtual |
Get the gridded data's id. (For DIS, DtObjectId is DtEntityIdentifier).
|
virtual |
Get a string identification of this object.
Implements DtReflectedObject.
|
virtual |
Get the gridded data's local id. For DIS - same as id().
|
virtual |
Get the next and previous elements in the reflected environment process list.
Reimplemented from DtListedObj.
|
protected |
assignment operator – not implemented
|
virtual |
Reimplemented from DtListedObj.
|
virtual |
Process an environmentalProcess PDU.
Also calls down to base class processStateMessage().
|
virtual |
Process an environment process state PDU.
Calls processGriddedData().
Reimplemented from DtReflectedObject.
|
virtual |
|
static |
Give us a function to be used for creating SRs.
|
virtual |
Implementation for abstract base class. Calls gdsr().
Implements DtReflectedObject.
|
static |
|
virtual |
Get the next and previous elements, wrap at the ends of the list.
Reimplemented from DtListedObj.
|
virtual |
Reimplemented from DtListedObj.
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |