Instances of DtDynamicTerrainEncoder encode data from DtDynamicTerrainStateRepository objects to the net structures to be sent to the network.
More...
Static Public Member Functions |
| static DtHlaStateEncoder * | create (DtExerciseConn *exConn, DtObjClassDesc *classDesc) |
| | Function that creates a DtDynamicTerrainEncoder.
|
|
| static void | setUseFullComparison (bool useFull) |
| | By default the encoder will determine if a send is needed for the GeometryAndData and CommonData attributes based solely on changes to their associated event numbers.
|
| static bool | useFullComparison () |
| | By default the encoder will determine if a send is needed for the GeometryAndData and CommonData attributes based solely on changes to their associated event numbers.
|
Static Protected Member Functions |
| static bool | needObjectIdentifier (const DtDynamicTerrainStateRepository &stateRep, const DtDynamicTerrainStateRepository &asSeenByRemote) |
| | Return true if ObjectIdentifier needs to be sent to the network, false otherwise.
|
| static void | encodeObjectIdentifier (const DtDynamicTerrainStateRepository &rep, RTI::AttributeHandleValuePairSet *attrs, RTI::AttributeHandle attrHandle) |
| | Encodes ObjectIdentifier from rep into attrs.
|
| static bool | needGeometryAndData (const DtDynamicTerrainStateRepository &stateRep, const DtDynamicTerrainStateRepository &asSeenByRemote) |
| | Return true if GeometryAndData needs to be sent to the network, false otherwise.
|
| static void | encodeGeometryAndData (const DtDynamicTerrainStateRepository &rep, RTI::AttributeHandleValuePairSet *attrs, RTI::AttributeHandle attrHandle) |
| | Encodes GeometryAndData from rep into attrs.
|
| static bool | needCommonData (const DtDynamicTerrainStateRepository &stateRep, const DtDynamicTerrainStateRepository &asSeenByRemote) |
| | Return true if CommonData needs to be sent to the network, false otherwise.
|
| static void | encodeCommonData (const DtDynamicTerrainStateRepository &rep, RTI::AttributeHandleValuePairSet *attrs, RTI::AttributeHandle attrHandle) |
| | Encodes CommonData from rep into attrs.
|
| static bool | needCommonDataEventNumber (const DtDynamicTerrainStateRepository &stateRep, const DtDynamicTerrainStateRepository &asSeenByRemote) |
| | Return true if CommonDataEventNumber needs to be sent to the network, false otherwise.
|
| static void | encodeCommonDataEventNumber (const DtDynamicTerrainStateRepository &rep, RTI::AttributeHandleValuePairSet *attrs, RTI::AttributeHandle attrHandle) |
| | Encodes CommonDataEventNumber from rep into attrs.
|
Detailed Description
Instances of DtDynamicTerrainEncoder encode data from DtDynamicTerrainStateRepository objects to the net structures to be sent to the network.
Constructor & Destructor Documentation
| DtDynamicTerrainEncoder::DtDynamicTerrainEncoder |
( |
DtExerciseConn * |
exConn, |
|
|
DtObjClassDesc * |
classDesc |
|
) |
| |
| virtual DtDynamicTerrainEncoder::~DtDynamicTerrainEncoder |
( |
| ) |
|
|
virtual |
Member Function Documentation
| static DtHlaStateEncoder* DtDynamicTerrainEncoder::create |
( |
DtExerciseConn * |
exConn, |
|
|
DtObjClassDesc * |
classDesc |
|
) |
| |
|
static |
| static void DtDynamicTerrainEncoder::setUseFullComparison |
( |
bool |
useFull | ) |
|
|
static |
By default the encoder will determine if a send is needed for the GeometryAndData and CommonData attributes based solely on changes to their associated event numbers.
If useFullComparison is set to true, all data in the attributes will be checked for changes.
| static bool DtDynamicTerrainEncoder::useFullComparison |
( |
| ) |
|
|
static |
By default the encoder will determine if a send is needed for the GeometryAndData and CommonData attributes based solely on changes to their associated event numbers.
If useFullComparison is set to true, all data in the attributes will be checked for changes.
Return true if ObjectIdentifier needs to be sent to the network, false otherwise.
| static void DtDynamicTerrainEncoder::encodeObjectIdentifier |
( |
const DtDynamicTerrainStateRepository & |
rep, |
|
|
RTI::AttributeHandleValuePairSet * |
attrs, |
|
|
RTI::AttributeHandle |
attrHandle |
|
) |
| |
|
staticprotected |
Encodes ObjectIdentifier from rep into attrs.
Return true if GeometryAndData needs to be sent to the network, false otherwise.
| static void DtDynamicTerrainEncoder::encodeGeometryAndData |
( |
const DtDynamicTerrainStateRepository & |
rep, |
|
|
RTI::AttributeHandleValuePairSet * |
attrs, |
|
|
RTI::AttributeHandle |
attrHandle |
|
) |
| |
|
staticprotected |
Encodes GeometryAndData from rep into attrs.
Return true if CommonData needs to be sent to the network, false otherwise.
| static void DtDynamicTerrainEncoder::encodeCommonData |
( |
const DtDynamicTerrainStateRepository & |
rep, |
|
|
RTI::AttributeHandleValuePairSet * |
attrs, |
|
|
RTI::AttributeHandle |
attrHandle |
|
) |
| |
|
staticprotected |
Encodes CommonData from rep into attrs.
Return true if CommonDataEventNumber needs to be sent to the network, false otherwise.
| static void DtDynamicTerrainEncoder::encodeCommonDataEventNumber |
( |
const DtDynamicTerrainStateRepository & |
rep, |
|
|
RTI::AttributeHandleValuePairSet * |
attrs, |
|
|
RTI::AttributeHandle |
attrHandle |
|
) |
| |
|
staticprotected |
Encodes CommonDataEventNumber from rep into attrs.
Member Data Documentation
| bool DtDynamicTerrainEncoder::theUseFullComparison |
|
staticprotected |
The documentation for this class was generated from the following file: