![]() |
VR-Link API Documentation for DIS
|
The reflected list for Radio Transmitter objects. More...
Inheritance diagram for DtReflectedRadioTransmitter:
Collaboration diagram for DtReflectedRadioTransmitter:Public Types | |
| typedef DtRadioTransmitterRepository *(* | DtStateRepCreator )() |
| Function prototype for functions that create DtRadioTransmitterRepositories. More... | |
Public Member Functions | |
| DtReflectedRadioTransmitter (DtExerciseConn *conn, const DtEntityIdentifier &id, int radioId) | |
| constructor More... | |
| virtual | ~DtReflectedRadioTransmitter () |
| destructor More... | |
| virtual DtRadioTransmitterRepository * | radioXmitRep () const |
| Returns ptr to radioTransmitterRepository – through which you can inspect current state info. More... | |
| virtual DtRadioTransmitterRepository * | tsr () const |
| Synonym for radioXmitRep. More... | |
| virtual DtStateRepository * | stateRep () const |
| Implementation for abstract base class. Calls tsr(). More... | |
| virtual DtRadioTransmitterDecoder * | decoder () |
| Returns a pointer to the Decoder being used to decode state messages into our TSR. More... | |
| virtual const DtEntityIdentifier & | entityId () const |
| Returns the entity identifier. More... | |
| virtual const DtObjectId & | id () const |
| Get the radio transmitter's id. (For DIS, DtObjectId is DtEntityIdentifier). More... | |
| virtual const DtObjectId & | localId () const |
| Get the radio transmitter's local id. For DIS - same as id(). More... | |
| virtual const DtGlobalObjectDesignator & | globalId () const |
| Get the radio transmitter's object's global object designator - for DIS, it's the same as its DtEntityIdentifier. More... | |
| virtual int | radioId () const |
| Get the radio transmitter's radio ID. More... | |
| virtual void | processStateMessage (const DtStateMsg &msg) |
| Process a radio transmitter PDU. More... | |
| virtual DtReflectedRadioTransmitter * | next () const |
| Get the next and previous elements in the reflected radio transmitter list. More... | |
| virtual DtReflectedRadioTransmitter * | prev () const |
| virtual DtReflectedRadioTransmitter * | wrapNext () const |
| Get the next and previous elements, wrap at the ends of the list. More... | |
| virtual DtReflectedRadioTransmitter * | wrapPrev () const |
| virtual void | addPostUpdateCallback (DtRadioTransmitterCallbackFunction cb, void *userData) |
| Radio Transmitter callback registration/deregistration. More... | |
| virtual void | removePostUpdateCallback (DtRadioTransmitterCallbackFunction cb, void *userData) |
| virtual const DtBaseHashKey & | hashKey () const |
| Get a hash key for this object. More... | |
| virtual DtString | idString () const |
| Get a string identification of this object. More... | |
| virtual void | processRadioTransmitter (const DtTransmitterPdu &pdu) |
| Process a transmitter PDU. More... | |
Public Member Functions inherited from DtReflectedObject | |
| DtReflectedObject (DtExerciseConn *conn) | |
| constructor More... | |
| virtual | ~DtReflectedObject () |
| destructor 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 | 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... | |
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 |
Static Public Member Functions | |
| static void | setStateRepCreator (DtStateRepCreator creator) |
| Give us a function to be used for creating SRs. More... | |
| static DtStateRepCreator | stateRepCreator () |
Protected Member Functions | |
| DtReflectedRadioTransmitter (const DtReflectedRadioTransmitter &orig) | |
| copy constructor – not implemented More... | |
| DtReflectedRadioTransmitter & | operator= (const DtReflectedRadioTransmitter &orig) |
| assignment operator – not implemented More... | |
Protected Member Functions inherited from DtReflectedObject | |
| 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 | |
| DtEntityIdentifier | myId |
| DtRadioTransmitterRepository * | myStateRep |
| DtRadioTransmitterDecoder * | myDecoder |
| DtStringHashKey | 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 |
The reflected list for Radio Transmitter objects.
| typedef DtRadioTransmitterRepository*(* DtReflectedRadioTransmitter::DtStateRepCreator)() |
Function prototype for functions that create DtRadioTransmitterRepositories.
| DtReflectedRadioTransmitter::DtReflectedRadioTransmitter | ( | DtExerciseConn * | conn, |
| const DtEntityIdentifier & | id, | ||
| int | radioId | ||
| ) |
constructor
|
virtual |
destructor
|
protected |
copy constructor – not implemented
|
virtual |
Radio Transmitter callback registration/deregistration.
|
virtual |
Returns a pointer to the Decoder being used to decode state messages into our TSR.
|
virtual |
Returns the entity identifier.
|
virtual |
Get the radio transmitter's object's global object designator - for DIS, it's the same as its DtEntityIdentifier.
Implements DtReflectedObject.
|
virtual |
Get a hash key for this object.
Implements DtReflectedObject.
|
virtual |
Get the radio transmitter's id. (For DIS, DtObjectId is DtEntityIdentifier).
|
virtual |
Get a string identification of this object.
Implements DtReflectedObject.
|
virtual |
Get the radio transmitter's local id. For DIS - same as id().
|
virtual |
Get the next and previous elements in the reflected radio transmitter list.
|
protected |
assignment operator – not implemented
|
virtual |
|
virtual |
Process a transmitter PDU.
Also calls down to base class processStateMessage().
|
virtual |
Process a radio transmitter PDU.
Calls processRadioTransmitter().
Reimplemented from DtReflectedObject.
|
inlinevirtual |
Get the radio transmitter's radio ID.
References myStateRep, and DtRadioTransmitterRepository::radioId().
|
virtual |
Returns ptr to radioTransmitterRepository – through which you can inspect current state info.
|
virtual |
|
static |
Give us a function to be used for creating SRs.
|
virtual |
Implementation for abstract base class. Calls tsr().
Implements DtReflectedObject.
|
static |
|
virtual |
Synonym for radioXmitRep.
|
virtual |
Get the next and previous elements, wrap at the ends of the list.
|
virtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Referenced by radioId().
|
staticprotected |