![]() |
VR-Link API Documentation for DIS
|
Instances of DtReflectedRadioReceiver represent radio receiver objects simulated by remote applications. More...
Inheritance diagram for DtReflectedRadioReceiver:
Collaboration diagram for DtReflectedRadioReceiver:Public Types | |
| typedef DtRadioReceiverRepository *(* | DtStateRepCreator )() |
| Function prototype for functions that create DtRadioReceiverRepositories. | |
Public Member Functions | |
| DtReflectedRadioReceiver (DtExerciseConn *conn, const DtEntityIdentifier &id, int radioId) | |
| Constructor. | |
| virtual | ~DtReflectedRadioReceiver () |
| Destructor. | |
| virtual DtRadioReceiverRepository * | receiverRep () const |
| Returns ptr to a DtRadioReceiverRepository – through which you can inspect current state info. | |
| virtual DtRadioReceiverRepository * | rsr () const |
| Synonym for receiverRep(). | |
| virtual DtStateRepository * | stateRep () const |
| Implementation for abstract base class. Calls rsr(). | |
| virtual DtRadioReceiverDecoder * | decoder () |
| Returns a pointer to the decoder being used to decode state messages into our DtRadioReceiverRepository. | |
| virtual const DtEntityIdentifier & | entityId () const |
| Returns the entity identifier. | |
| virtual const DtObjectId & | id () const |
| Get the radio receiver's id. (For DIS, DtObjectId is DtEntityIdentifier). | |
| virtual const DtObjectId & | localId () const |
| Get the radio receiver's local id. For DIS - same as id(). | |
| virtual const DtGlobalObjectDesignator & | globalId () const |
| Get the radio receiver's object's global object designator - for DIS, it's the same as its DtEntityIdentifier. | |
| virtual int | radioId () const |
| Get the radio receiver's radio ID. | |
| virtual void | processStateMessage (const DtStateMsg &msg) |
| Process a radio receiver PDU. | |
| virtual DtReflectedRadioReceiver * | next () const |
| Get the next and previous elements in the reflected radio receiver list. | |
| virtual DtReflectedRadioReceiver * | prev () const |
| virtual DtReflectedRadioReceiver * | wrapNext () const |
| Get the next and previous elements, wrap at the ends of the list. | |
| virtual DtReflectedRadioReceiver * | wrapPrev () const |
| virtual void | addPostUpdateCallback (DtRadioReceiverCallbackFunction cb, void *userData) |
| Radio Receiver callback registration/deregistration. | |
| virtual void | removePostUpdateCallback (DtRadioReceiverCallbackFunction 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 | processRadioReceiver (const DtReceiverPdu &pdu) |
| Process a receiver 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 | |
| DtReflectedRadioReceiver (const DtReflectedRadioReceiver &orig) | |
| Copy constructor – not implemented. | |
| DtReflectedRadioReceiver & | operator= (const DtReflectedRadioReceiver &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 |
| DtString | myIdString |
| DtRadioReceiverRepository * | myStateRep |
| DtRadioReceiverDecoder * | myDecoder |
| DtStringHashKey | 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 DtReflectedRadioReceiver represent radio receiver objects simulated by remote applications.
State data can be viewed through its state repository.
| typedef DtRadioReceiverRepository*(* DtReflectedRadioReceiver::DtStateRepCreator)() |
Function prototype for functions that create DtRadioReceiverRepositories.
| DtReflectedRadioReceiver::DtReflectedRadioReceiver | ( | DtExerciseConn * | conn, |
| const DtEntityIdentifier & | id, | ||
| int | radioId | ||
| ) |
Constructor.
|
virtual |
Destructor.
|
protected |
Copy constructor – not implemented.
|
virtual |
Radio Receiver callback registration/deregistration.
|
virtual |
Returns a pointer to the decoder being used to decode state messages into our DtRadioReceiverRepository.
|
virtual |
Returns the entity identifier.
|
virtual |
Get the radio receiver'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 receiver's id. (For DIS, DtObjectId is DtEntityIdentifier).
|
virtual |
Get a string identification of this object.
Implements DtReflectedObject.
|
virtual |
Get the radio receiver's local id. For DIS - same as id().
|
virtual |
Get the next and previous elements in the reflected radio receiver list.
Reimplemented from DtListedObj.
|
protected |
Assignment operator – not implemented.
|
virtual |
Reimplemented from DtListedObj.
|
virtual |
Process a receiver PDU.
Also calls down to base class processStateMessage().
|
virtual |
|
inlinevirtual |
Get the radio receiver's radio ID.
References myStateRep, and DtRadioReceiverRepository::radioId().
|
virtual |
Returns ptr to a DtRadioReceiverRepository – through which you can inspect current state info.
|
virtual |
|
virtual |
Synonym for receiverRep().
|
static |
Give us a function to be used for creating SRs.
|
virtual |
Implementation for abstract base class. Calls rsr().
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 |
|
protected |
Referenced by radioId().
|
staticprotected |