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