![]() |
VR-Link API Documentation for DIS
|
Instances of DtGriddedDataEncoder are used to take state information from a DtGriddedDataRepository and place it into a gridded data PDU. More...
Inheritance diagram for DtGriddedDataEncoder:
Collaboration diagram for DtGriddedDataEncoder:Public Member Functions | |
| DtGriddedDataEncoder () | |
| Constructor. | |
| virtual | ~DtGriddedDataEncoder () |
| Destructor. | |
| DtGriddedDataEncoder (const DtGriddedDataEncoder &orig) | |
| Copy constructor. | |
| DtGriddedDataEncoder & | operator= (const DtGriddedDataEncoder &orig) |
| Assignment operator. | |
| virtual DtGriddedDataPdu * | stateMsg (const DtGriddedDataRepository &stateRep, const DtGriddedDataRepository &asSeenByRemote) |
| Constructs a PDU from the state repository. | |
Protected Member Functions | |
| virtual bool | sendNeeded (const DtGriddedDataRepository &stateRep, const DtGriddedDataRepository &asSeenByRemote) |
| Returns true if a PDU needs to be sent, (based on thresholds, etc) false otherwise. | |
| virtual bool | needGridAxisInfo (const DtGriddedDataRepository &stateRep, const DtGriddedDataRepository &asSeenByRemote, int index) |
| Returns true if the grid axis info has changed. | |
| virtual bool | needGridDataInfo (const DtGriddedDataRepository &stateRep, const DtGriddedDataRepository &asSeenByRemote, int index) |
| Returns true if the grid data info has changed. | |
Protected Attributes | |
| DtGriddedDataPdu | myPdu |
Instances of DtGriddedDataEncoder are used to take state information from a DtGriddedDataRepository and place it into a gridded data PDU.
Constructor.
| virtual DtGriddedDataEncoder::~DtGriddedDataEncoder | ( | ) | [virtual] |
Destructor.
| DtGriddedDataEncoder::DtGriddedDataEncoder | ( | const DtGriddedDataEncoder & | orig | ) |
Copy constructor.
| virtual bool DtGriddedDataEncoder::needGridAxisInfo | ( | const DtGriddedDataRepository & | stateRep, |
| const DtGriddedDataRepository & | asSeenByRemote, | ||
| int | index | ||
| ) | [protected, virtual] |
Returns true if the grid axis info has changed.
| virtual bool DtGriddedDataEncoder::needGridDataInfo | ( | const DtGriddedDataRepository & | stateRep, |
| const DtGriddedDataRepository & | asSeenByRemote, | ||
| int | index | ||
| ) | [protected, virtual] |
Returns true if the grid data info has changed.
| DtGriddedDataEncoder& DtGriddedDataEncoder::operator= | ( | const DtGriddedDataEncoder & | orig | ) |
Assignment operator.
| virtual bool DtGriddedDataEncoder::sendNeeded | ( | const DtGriddedDataRepository & | stateRep, |
| const DtGriddedDataRepository & | asSeenByRemote | ||
| ) | [protected, virtual] |
Returns true if a PDU needs to be sent, (based on thresholds, etc) false otherwise.
| virtual DtGriddedDataPdu* DtGriddedDataEncoder::stateMsg | ( | const DtGriddedDataRepository & | stateRep, |
| const DtGriddedDataRepository & | asSeenByRemote | ||
| ) | [virtual] |
Constructs a PDU from the state repository.
stateMsg determines whether a Gridded Data PDU needs to be sent and constructs one of it does.
DtGriddedDataPdu DtGriddedDataEncoder::myPdu [protected] |