![]() |
VR-Link API Documentation for HLA Evolved
|
class DtPhysicalEntityDecoder: More...
Inheritance diagram for DtPhysicalEntityDecoder:
Collaboration diagram for DtPhysicalEntityDecoder:Public Member Functions | |
| DtPhysicalEntityDecoder (DtExerciseConn *exConn, DtObjClassDesc *classDesc) | |
| constructor | |
| virtual | ~DtPhysicalEntityDecoder () |
| destructor | |
| DtPhysicalEntityDecoder (const DtPhysicalEntityDecoder &orig) | |
| copy constructor | |
| DtPhysicalEntityDecoder & | operator= (const DtPhysicalEntityDecoder &orig) |
| assignment operator | |
Static Public Member Functions | |
| static DtHlaStateDecoder * | create (DtExerciseConn *exConn, DtObjClassDesc *classDesc) |
| Create a DtPhysicalEntityDecoder. | |
Protected Member Functions | |
| void | addMyDecoders () |
| Add decoding functions for the attributes. | |
| virtual void | decode (const DtStateMsg &msg, DtStateRepository *rep) const |
| Virtual function override that sets some timestamping info, then calls down to the base class to perform decoding of attributes. | |
| DtDECLARE_ENTITY_ATTR_DECODER (DamageState) | |
| Static decode<AttributeName> member functions. | |
| DtDECLARE_ENTITY_ATTR_DECODER (EngineSmokeOn) | |
| DtDECLARE_ENTITY_ATTR_DECODER (FlamesPresent) | |
| DtDECLARE_ENTITY_ATTR_DECODER (HasFuelSupplyCap) | |
| DtDECLARE_ENTITY_ATTR_DECODER (HasRecoveryCap) | |
| DtDECLARE_ENTITY_ATTR_DECODER (HasRepairCap) | |
| DtDECLARE_ENTITY_ATTR_DECODER (Immobilized) | |
| DtDECLARE_ENTITY_ATTR_DECODER (Marking) | |
| DtDECLARE_ENTITY_ATTR_DECODER (PowerPlantOn) | |
| DtDECLARE_ENTITY_ATTR_DECODER (SmokePlumePresent) | |
| DtDECLARE_ENTITY_ATTR_DECODER (TentDeployed) | |
| DtDECLARE_ENTITY_ATTR_DECODER (ArticulatedParametersArrayPre09) | |
| For versions <= 0.8. | |
| DtDECLARE_ENTITY_ATTR_DECODER (TrailState) | |
| DtDECLARE_ENTITY_ATTR_DECODER (HatchState) | |
| DtDECLARE_ENTITY_ATTR_DECODER (LifeformState) | |
| DtDECLARE_ENTITY_ATTR_DECODER (LightsState) | |
| DtDECLARE_ENTITY_ATTR_DECODER (RampDeployed) | |
| DtDECLARE_ENTITY_ATTR_DECODER (ArticulatedParametersArray) | |
| For versions > 0.8. | |
| DtDECLARE_ENTITY_ATTR_DECODER (TrailingEffectsCode) | |
| DtDECLARE_ENTITY_ATTR_DECODER (AlternateEntityType) | |
| DtDECLARE_ENTITY_ATTR_DECODER (CamouflageType) | |
| DtDECLARE_ENTITY_ATTR_DECODER (FirePowerDisabled) | |
| DtDECLARE_ENTITY_ATTR_DECODER (ForceIdentifier) | |
| DtDECLARE_ENTITY_ATTR_DECODER (IsConcealed) | |
| DtDECLARE_ENTITY_ATTR_DECODER (HasAmmunitionSupplyCap) | |
| DtDECLARE_ENTITY_ATTR_DECODER (AcousticSignatureIndex) | |
| For Versions >= 2.0007. | |
| DtDECLARE_ENTITY_ATTR_DECODER (InfraredSignatureIndex) | |
| DtDECLARE_ENTITY_ATTR_DECODER (PropulsionSystemsData) | |
| DtDECLARE_ENTITY_ATTR_DECODER (RadarCrossSectionSignatureIndex) | |
| DtDECLARE_ENTITY_ATTR_DECODER (VectoringNozzleSystemData) | |
| DtDECLARE_ENTITY_ATTR_DECODER (LiveEntityMeasuredSpeed) | |
| DtDECLARE_ENTITY_ATTR_DECODER (DIGuyAction) | |
| For DI Guy only. | |
| DtDECLARE_ENTITY_ATTR_DECODER (DIGuyAppearance) | |
| DtDECLARE_ENTITY_ATTR_DECODER (DIGuyArc) | |
| DtDECLARE_ENTITY_ATTR_DECODER (DIGuyType) | |
| DtDECLARE_ENTITY_ATTR_DECODER (DIGuyParent) | |
Static Protected Member Functions | |
| static void | decodeAttParts (int numParams, DtNetAttachedPart *netParams, DtAttachedPartCollection *attList) |
| Called by the decoder for the ArticulatedParametersArray attribute. | |
| static void | convertFromRPR1_0 (DtNetArtParamRecord *netParams, DtNetArtParamRecordRPR1 *netParamsRPR1, int numRecords) |
| helper function | |
class DtPhysicalEntityDecoder:
Instances of DtPhysicalEntityDecoder are used to decode a physical entity state message into a state repository in an HLA (as opposed to DIS) environment.
| DtPhysicalEntityDecoder::DtPhysicalEntityDecoder | ( | DtExerciseConn * | exConn, |
| DtObjClassDesc * | classDesc | ||
| ) |
constructor
| virtual DtPhysicalEntityDecoder::~DtPhysicalEntityDecoder | ( | ) | [virtual] |
destructor
copy constructor
| void DtPhysicalEntityDecoder::addMyDecoders | ( | ) | [protected] |
Add decoding functions for the attributes.
Note: Non-virtual, since meant to be called from constructors to add decoders.
Reimplemented from DtBaseEntityDecoder.
Reimplemented in DtLifeformDecoder, DtMilitaryPlatformEntityDecoder, DtPlatformDecoder, DtSensorDecoder, DtCulturalFeatureDecoder, DtMilitaryEntityDecoder, DtMunitionEntityDecoder, DtMunitionDecoder, and DtSoldierDecoder.
| static void DtPhysicalEntityDecoder::convertFromRPR1_0 | ( | DtNetArtParamRecord * | netParams, |
| DtNetArtParamRecordRPR1 * | netParamsRPR1, | ||
| int | numRecords | ||
| ) | [static, protected] |
helper function
| static DtHlaStateDecoder* DtPhysicalEntityDecoder::create | ( | DtExerciseConn * | exConn, |
| DtObjClassDesc * | classDesc | ||
| ) | [static] |
Create a DtPhysicalEntityDecoder.
User is responsible for deletion.
Reimplemented from DtBaseEntityDecoder.
Reimplemented in DtLifeformDecoder, DtMilitaryPlatformEntityDecoder, DtPlatformDecoder, DtSensorDecoder, DtCulturalFeatureDecoder, DtMilitaryEntityDecoder, DtMunitionEntityDecoder, DtMunitionDecoder, and DtSoldierDecoder.
| virtual void DtPhysicalEntityDecoder::decode | ( | const DtStateMsg & | msg, |
| DtStateRepository * | rep | ||
| ) | const [protected, virtual] |
Virtual function override that sets some timestamping info, then calls down to the base class to perform decoding of attributes.
Reimplemented from DtBaseEntityDecoder.
| static void DtPhysicalEntityDecoder::decodeAttParts | ( | int | numParams, |
| DtNetAttachedPart * | netParams, | ||
| DtAttachedPartCollection * | attList | ||
| ) | [static, protected] |
Called by the decoder for the ArticulatedParametersArray attribute.
| DtPhysicalEntityDecoder::DtDECLARE_ENTITY_ATTR_DECODER | ( | DamageState | ) | [protected] |
Static decode<AttributeName> member functions.
| DtPhysicalEntityDecoder::DtDECLARE_ENTITY_ATTR_DECODER | ( | EngineSmokeOn | ) | [protected] |
| DtPhysicalEntityDecoder::DtDECLARE_ENTITY_ATTR_DECODER | ( | FlamesPresent | ) | [protected] |
| DtPhysicalEntityDecoder::DtDECLARE_ENTITY_ATTR_DECODER | ( | HasFuelSupplyCap | ) | [protected] |
| DtPhysicalEntityDecoder::DtDECLARE_ENTITY_ATTR_DECODER | ( | HasRecoveryCap | ) | [protected] |
| DtPhysicalEntityDecoder::DtDECLARE_ENTITY_ATTR_DECODER | ( | HasRepairCap | ) | [protected] |
| DtPhysicalEntityDecoder::DtDECLARE_ENTITY_ATTR_DECODER | ( | Immobilized | ) | [protected] |
| DtPhysicalEntityDecoder::DtDECLARE_ENTITY_ATTR_DECODER | ( | Marking | ) | [protected] |
| DtPhysicalEntityDecoder::DtDECLARE_ENTITY_ATTR_DECODER | ( | PowerPlantOn | ) | [protected] |
| DtPhysicalEntityDecoder::DtDECLARE_ENTITY_ATTR_DECODER | ( | SmokePlumePresent | ) | [protected] |
| DtPhysicalEntityDecoder::DtDECLARE_ENTITY_ATTR_DECODER | ( | TentDeployed | ) | [protected] |
| DtPhysicalEntityDecoder::DtDECLARE_ENTITY_ATTR_DECODER | ( | ArticulatedParametersArrayPre09 | ) | [protected] |
For versions <= 0.8.
| DtPhysicalEntityDecoder::DtDECLARE_ENTITY_ATTR_DECODER | ( | TrailState | ) | [protected] |
| DtPhysicalEntityDecoder::DtDECLARE_ENTITY_ATTR_DECODER | ( | HatchState | ) | [protected] |
Reimplemented in DtPlatformDecoder.
| DtPhysicalEntityDecoder::DtDECLARE_ENTITY_ATTR_DECODER | ( | LifeformState | ) | [protected] |
| DtPhysicalEntityDecoder::DtDECLARE_ENTITY_ATTR_DECODER | ( | LightsState | ) | [protected] |
| DtPhysicalEntityDecoder::DtDECLARE_ENTITY_ATTR_DECODER | ( | RampDeployed | ) | [protected] |
Reimplemented in DtPlatformDecoder.
| DtPhysicalEntityDecoder::DtDECLARE_ENTITY_ATTR_DECODER | ( | ArticulatedParametersArray | ) | [protected] |
For versions > 0.8.
| DtPhysicalEntityDecoder::DtDECLARE_ENTITY_ATTR_DECODER | ( | TrailingEffectsCode | ) | [protected] |
| DtPhysicalEntityDecoder::DtDECLARE_ENTITY_ATTR_DECODER | ( | AlternateEntityType | ) | [protected] |
Reimplemented in DtMilitaryEntityDecoder.
| DtPhysicalEntityDecoder::DtDECLARE_ENTITY_ATTR_DECODER | ( | CamouflageType | ) | [protected] |
Reimplemented in DtMilitaryEntityDecoder.
| DtPhysicalEntityDecoder::DtDECLARE_ENTITY_ATTR_DECODER | ( | FirePowerDisabled | ) | [protected] |
Reimplemented in DtMilitaryEntityDecoder.
| DtPhysicalEntityDecoder::DtDECLARE_ENTITY_ATTR_DECODER | ( | ForceIdentifier | ) | [protected] |
| DtPhysicalEntityDecoder::DtDECLARE_ENTITY_ATTR_DECODER | ( | IsConcealed | ) | [protected] |
Reimplemented in DtMilitaryEntityDecoder.
| DtPhysicalEntityDecoder::DtDECLARE_ENTITY_ATTR_DECODER | ( | HasAmmunitionSupplyCap | ) | [protected] |
Reimplemented in DtMilitaryPlatformEntityDecoder.
| DtPhysicalEntityDecoder::DtDECLARE_ENTITY_ATTR_DECODER | ( | AcousticSignatureIndex | ) | [protected] |
For Versions >= 2.0007.
| DtPhysicalEntityDecoder::DtDECLARE_ENTITY_ATTR_DECODER | ( | InfraredSignatureIndex | ) | [protected] |
| DtPhysicalEntityDecoder::DtDECLARE_ENTITY_ATTR_DECODER | ( | PropulsionSystemsData | ) | [protected] |
| DtPhysicalEntityDecoder::DtDECLARE_ENTITY_ATTR_DECODER | ( | RadarCrossSectionSignatureIndex | ) | [protected] |
| DtPhysicalEntityDecoder::DtDECLARE_ENTITY_ATTR_DECODER | ( | VectoringNozzleSystemData | ) | [protected] |
| DtPhysicalEntityDecoder::DtDECLARE_ENTITY_ATTR_DECODER | ( | LiveEntityMeasuredSpeed | ) | [protected] |
| DtPhysicalEntityDecoder::DtDECLARE_ENTITY_ATTR_DECODER | ( | DIGuyAction | ) | [protected] |
For DI Guy only.
| DtPhysicalEntityDecoder::DtDECLARE_ENTITY_ATTR_DECODER | ( | DIGuyAppearance | ) | [protected] |
| DtPhysicalEntityDecoder::DtDECLARE_ENTITY_ATTR_DECODER | ( | DIGuyArc | ) | [protected] |
| DtPhysicalEntityDecoder::DtDECLARE_ENTITY_ATTR_DECODER | ( | DIGuyType | ) | [protected] |
| DtPhysicalEntityDecoder::DtDECLARE_ENTITY_ATTR_DECODER | ( | DIGuyParent | ) | [protected] |
| DtPhysicalEntityDecoder& DtPhysicalEntityDecoder::operator= | ( | const DtPhysicalEntityDecoder & | orig | ) |
assignment operator