Instances of DtDynamicTerrainEncoder encode data from DtDynamicTerrainStateRepository objects to the net structures to be sent to the network.
|
| static bool | needObjectIdentifier (const DtDynamicTerrainStateRepository &stateRep, const DtDynamicTerrainStateRepository &asSeenByRemote) |
| |
| static void | encodeObjectIdentifier (const DtDynamicTerrainStateRepository &rep, RTI::AttributeHandleValuePairSet *attrs, RTI::AttributeHandle attrHandle) |
| |
| static bool | needGeometryAndData (const DtDynamicTerrainStateRepository &stateRep, const DtDynamicTerrainStateRepository &asSeenByRemote) |
| |
| static void | encodeGeometryAndData (const DtDynamicTerrainStateRepository &rep, RTI::AttributeHandleValuePairSet *attrs, RTI::AttributeHandle attrHandle) |
| |
| static bool | needCommonData (const DtDynamicTerrainStateRepository &stateRep, const DtDynamicTerrainStateRepository &asSeenByRemote) |
| |
| static void | encodeCommonData (const DtDynamicTerrainStateRepository &rep, RTI::AttributeHandleValuePairSet *attrs, RTI::AttributeHandle attrHandle) |
| |
| static bool | needCommonDataEventNumber (const DtDynamicTerrainStateRepository &stateRep, const DtDynamicTerrainStateRepository &asSeenByRemote) |
| |
| static void | encodeCommonDataEventNumber (const DtDynamicTerrainStateRepository &rep, RTI::AttributeHandleValuePairSet *attrs, RTI::AttributeHandle attrHandle) |
| |
| DtDynamicTerrainEncoder::DtDynamicTerrainEncoder |
( |
| ) |
|
| virtual DtDynamicTerrainEncoder::~DtDynamicTerrainEncoder |
( |
| ) |
|
|
overridevirtual |
| DtDynamicTerrainEncoder::DtDynamicTerrainEncoder |
( |
DtExerciseConn * |
exConn, |
|
|
DtObjClassDesc * |
classDesc |
|
) |
| |
| virtual DtDynamicTerrainEncoder::~DtDynamicTerrainEncoder |
( |
| ) |
|
|
overridevirtual |
| virtual void DtDynamicTerrainEncoder::encode |
( |
DtPdu * |
pdu | ) |
|
|
overridevirtual |
Encodes the DynamicTerrain PDU state into its netRep.
Constructs a PDU from the state repository. stateMsg determines whether an PDU needs to be sent and constructs one of it does.
- Returns
- PDU if send is needed, and NULL if not
| static void DtDynamicTerrainEncoder::setUseFullComparison |
( |
bool |
useFull | ) |
|
|
static |
By default the encoder will determine if a send is needed based solely on changes any event numbers. If useFullComparison is set to true, all data in the object will be checked for any changes.
| static bool DtDynamicTerrainEncoder::useFullComparison |
( |
| ) |
|
|
static |
By default the encoder will determine if a send is needed based solely on changes any event numbers. If useFullComparison is set to true, all data in the object will be checked for any changes.
| 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.
| static bool DtDynamicTerrainEncoder::theUseFullComparison |
|
staticprotected |
The documentation for this class was generated from the following files: