Instances of DtEntityStateEncoder are used to take state information from a DtEntityStateRepository and place it into an entity state PDU.
More...
|
| virtual bool | sendNeeded (const DtEntityStateRepository &stateRep, const DtEntityStateRepository &asSeenByRemote) |
| | Returns true if a PDU needs to be sent, (based on thresholds, etc) false otherwise. More...
|
| |
| virtual void | fillOut (const DtEntityStateRepository &stateRep, const DtEntityStateRepository &asSeenByRemote, DtEntityStatePdu *pdu) |
| | Copy current ESR data to the pdu. More...
|
| |
| virtual bool | artPartsNeedUpdating (const DtEntityStateRepository &stateRep, const DtEntityStateRepository &asSeenByRemote) |
| | Returns true if art part info is out of date, false otherwise. More...
|
| |
| virtual bool | attPartsNeedUpdating (const DtEntityStateRepository &stateRep, const DtEntityStateRepository &asSeenByRemote) |
| | Returns true if art part info is out of date, false otherwise. More...
|
| |
| virtual bool | variableDatumNeedsUpdating (const DtEntityStateRepository &stateRep, const DtEntityStateRepository &asSeenByRemote) |
| | Returns true if the DIS 7 Variable Datum is out of date, false otherwise. More...
|
| |
| virtual void | fillOutDeadReckoningParams (const DtEntityStateRepository &stateRep, DtEntityStatePdu *pdu) |
| | DIS 7 requires filling the Params structure with derived values for speed in decoding. More...
|
| |
| virtual void | fillOutArtAndAttParts (const DtEntityStateRepository &stateRep, const DtEntityStateRepository &asSeenByRemote, DtEntityStatePdu *pdu) |
| | Copies current articulated and attached part info from the ESR to the PDU. More...
|
| |
Instances of DtEntityStateEncoder are used to take state information from a DtEntityStateRepository and place it into an entity state PDU.
| DtEntityStateEncoder::DtEntityStateEncoder |
( |
| ) |
|
| virtual DtEntityStateEncoder::~DtEntityStateEncoder |
( |
| ) |
|
|
virtual |
Returns true if art part info is out of date, false otherwise.
Returns true if art part info is out of date, false otherwise.
Copy current ESR data to the pdu.
Copies current articulated and attached part info from the ESR to the PDU.
DIS 7 requires filling the Params structure with derived values for speed in decoding.
It is filled in this function.
Returns true if a PDU needs to be sent, (based on thresholds, etc) false otherwise.
Constructs a PDU from the state repository.
stateMsg determines whether an Entity State PDU needs to be sent and constructs one of it does.
- Returns
- PDU if send is needed, and NULL if not
Returns true if the DIS 7 Variable Datum is out of date, false otherwise.
The documentation for this class was generated from the following file: