![]() |
VR-Link API Documentation for DIS
|
Instances of DtRadioReceiverEncoder are used to take state information from a DtRadioReceiverRepository and place it into a radio receiver PDU. More...
Inheritance diagram for DtRadioReceiverEncoder:
Collaboration diagram for DtRadioReceiverEncoder:Public Member Functions | |
| DtRadioReceiverEncoder () | |
| Constructor. | |
| virtual | ~DtRadioReceiverEncoder () |
| Destructor. | |
| DtRadioReceiverEncoder (const DtRadioReceiverEncoder &orig) | |
| Copy constructor. | |
| DtRadioReceiverEncoder & | operator= (const DtRadioReceiverEncoder &orig) |
| Assignment operator. | |
| virtual DtReceiverPdu * | stateMsg (const DtRadioReceiverRepository &stateRep, const DtRadioReceiverRepository &asSeenByRemote) |
| Constructs a PDU from the state repository. | |
Protected Member Functions | |
| virtual bool | sendNeeded (const DtRadioReceiverRepository &stateRep, const DtRadioReceiverRepository &asSeenByRemote) |
| Returns true if a PDU needs to be sent, (based on thresholds, etc) false otherwise. | |
Protected Attributes | |
| DtReceiverPdu | myPdu |
Instances of DtRadioReceiverEncoder are used to take state information from a DtRadioReceiverRepository and place it into a radio receiver PDU.
Constructor.
| virtual DtRadioReceiverEncoder::~DtRadioReceiverEncoder | ( | ) | [virtual] |
Destructor.
| DtRadioReceiverEncoder::DtRadioReceiverEncoder | ( | const DtRadioReceiverEncoder & | orig | ) |
Copy constructor.
| DtRadioReceiverEncoder& DtRadioReceiverEncoder::operator= | ( | const DtRadioReceiverEncoder & | orig | ) |
Assignment operator.
| virtual bool DtRadioReceiverEncoder::sendNeeded | ( | const DtRadioReceiverRepository & | stateRep, |
| const DtRadioReceiverRepository & | asSeenByRemote | ||
| ) | [protected, virtual] |
Returns true if a PDU needs to be sent, (based on thresholds, etc) false otherwise.
| virtual DtReceiverPdu* DtRadioReceiverEncoder::stateMsg | ( | const DtRadioReceiverRepository & | stateRep, |
| const DtRadioReceiverRepository & | asSeenByRemote | ||
| ) | [virtual] |
Constructs a PDU from the state repository.
stateMsg determines whether a Receiver PDU needs to be sent and constructs one of it does.
DtReceiverPdu DtRadioReceiverEncoder::myPdu [protected] |