![]() |
VR-Forces Developer's Guide
|
The reflected object for a NavAid transmitter.
class DtReflectedNavAid:
Instances of DtReflectedNavAid represent NavAid objects simulated by remote applications. State data can be viewed through its state repository.

Public Types | |
| typedef DtNavAidStateRepository *(* | DtStateRepCreator )() |
| typedef DtNavAidDecoder *(* | DtDecoderCreator )(DtExerciseConn *conn) |
| typedef DtNavAidStateRepository *(* | DtStateRepCreator )() |
| typedef DtNavAidDecoder *(* | DtDecoderCreator )(DtExerciseConn *exConn, DtObjClassDesc *classDesc) |
Public Member Functions | |
| DtReflectedNavAid (DtExerciseConn *conn, const DtEntityIdentifier &id, int radioId) | |
| virtual | ~DtReflectedNavAid () |
| virtual DtNavAidStateRepository * | navAidStateRep () const |
| virtual DtNavAidStateRepository * | nasr () const |
| virtual DtStateRepository * | stateRep () const |
| virtual DtNavAidDecoder * | decoder () |
| virtual const DtEntityIdentifier & | entityId () const |
| virtual const DtObjectId & | id () const |
| virtual const DtObjectId & | localId () const |
| virtual const DtGlobalObjectDesignator & | globalId () const |
| virtual int | radioId () const |
| virtual void | processStateMessage (const DtStateMsg &msg) |
| virtual DtReflectedNavAid * | next () const |
| virtual DtReflectedNavAid * | prev () const |
| virtual DtReflectedNavAid * | wrapNext () const |
| virtual DtReflectedNavAid * | wrapPrev () const |
| virtual void | addPostUpdateCallback (DtNavAidCallbackFunction cb, void *userData) |
| virtual void | removePostUpdateCallback (DtNavAidCallbackFunction cb, void *userData) |
| virtual const DtBaseHashKey & | hashKey () const |
| virtual DtString | idString () const |
| virtual void | processNavAid (const DtTransmitterPdu &pdu) |
| DtReflectedNavAid (DtHlaObject *obj, DtExerciseConn *conn) | |
| virtual | ~DtReflectedNavAid () |
| virtual DtNavAidStateRepository * | navAidStateRep () const |
| virtual DtNavAidStateRepository * | nasr () const |
| virtual DtReflectedNavAid * | next () const |
| virtual DtReflectedNavAid * | prev () const |
| virtual DtReflectedNavAid * | wrapNext () const |
| virtual DtReflectedNavAid * | wrapPrev () const |
| virtual void | addPostUpdateCallback (DtNavAidCallbackFunction cb, void *userData) |
| virtual void | removePostUpdateCallback (DtNavAidCallbackFunction cb, void *userData) |
Static Public Member Functions | |
| static void | setStateRepCreator (DtStateRepCreator creator) |
| static DtStateRepCreator | stateRepCreator () |
| static void | setDecoderCreator (DtDecoderCreator creator) |
| static DtStateRepCreator | setStateRepCreator (DtStateRepCreator creator) |
| static DtDecoderCreator | setDecoderCreator (DtDecoderCreator creator) |
Protected Member Functions | |
| DtReflectedNavAid (const DtReflectedNavAid &orig) | |
| DtReflectedNavAid & | operator= (const DtReflectedNavAid &orig) |
| DtReflectedNavAid (const DtReflectedNavAid &orig) | |
| DtReflectedNavAid & | operator= (const DtReflectedNavAid &orig) |
Protected Attributes | |
| DtEntityIdentifier | myId |
| DtNavAidStateRepository * | myStateRep |
| DtNavAidDecoder * | myDecoder |
| DtStringHashKey | myHashKey |
| DtString | myIdString |
Static Protected Attributes | |
| static DtStateRepCreator | theStateRepCreator |
| static DtDecoderCreator | theDecoderCreator |
| typedef DtNavAidStateRepository*(* DtReflectedNavAid::DtStateRepCreator)() |
Function prototype for a function that creates a DtNavAidStateRepository.
| typedef DtNavAidDecoder*(* DtReflectedNavAid::DtDecoderCreator)(DtExerciseConn *conn) |
Function prototype for a function that creates a DtNavAidDecoder.
| typedef DtNavAidStateRepository*(* DtReflectedNavAid::DtStateRepCreator)() |
Function prototype for functions that create DtNavAidStateRepositories.
| typedef DtNavAidDecoder*(* DtReflectedNavAid::DtDecoderCreator)(DtExerciseConn *exConn, DtObjClassDesc *classDesc) |
Function prototype for functions that create DtNavAidDecoders.
| DtReflectedNavAid::DtReflectedNavAid | ( | DtExerciseConn * | conn, |
| const DtEntityIdentifier & | id, | ||
| int | radioId | ||
| ) |
constructor
|
virtual |
destructor
|
protected |
copy constructor – not implemented
| DtReflectedNavAid::DtReflectedNavAid | ( | DtHlaObject * | obj, |
| DtExerciseConn * | conn | ||
| ) |
constructor
|
virtual |
destructor
|
protected |
copy constructor – not implemented
|
inlinevirtual |
Returns ptr to navAidStateRepository, through which you can inspect current state info.
References myStateRep.
|
inlinevirtual |
Synonym for navAidStateRep.
References myStateRep.
|
virtual |
Implementation for abstract base class. Calls nasr().
|
virtual |
Returns a pointer to the Decoder being used to decode state messages into our TSR.
|
virtual |
Returns the entity identifier.
|
virtual |
Get the NavAids's id. (For DIS, DtObjectId is DtEntityIdentifier).
|
virtual |
Get the NavAids's local id. For DIS - same as id().
|
virtual |
Get the NavAids's object's global object designator - for DIS, it's the same as its DtEntityIdentifier.
|
inlinevirtual |
Get the NavAids's radio ID.
References myStateRep.
|
virtual |
Process a radio transmitter PDU. Calls processNavAid().
|
virtual |
Get the next and previous elements in the reflected NavAids list.
|
virtual |
|
virtual |
Get the next and previous elements, wrap at the ends of the list.
|
virtual |
|
virtual |
Radio Transmitter callback registration/deregistration.
|
virtual |
|
virtual |
Get a hash key for this object.
|
virtual |
Get a string identification of this object.
|
virtual |
Process a transmitter PDU. Also calls down to base class processStateMessage().
|
static |
Give us a function to be used for creating SRs.
|
static |
|
static |
Give us a function to be used for creating a decoder.
|
protected |
assignment operator – not implemented
|
virtual |
Get the NavAid's state repository.
|
virtual |
Synonym for navAidStateRep().
|
virtual |
Get the next remote NavAid.
|
virtual |
Get the previous remote NavAid.
|
virtual |
Get the next remote NavAid. Will cycle back to the first remote NavAid.
|
virtual |
Get the previous remote NavAid. Will cycle back to the last remote NavAid.
|
virtual |
Transmitter state callback registration/deregistration.
|
virtual |
|
static |
Give us a function to be used for creating SRs.
|
static |
Give us a function to be used for creating decoders.
|
protected |
assignment operator – not implemented
|
protected |
|
protected |
Referenced by nasr(), navAidStateRep(), and radioId().
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
staticprotected |