![]() |
VR-Link API Documentation for HLA 1.3
|
Instances of DtBaseEntityDecoder are used to decode a base entity state message into a state repository in an HLA (as opposed to DIS) environment. More...
Inheritance diagram for DtBaseEntityDecoder:
Collaboration diagram for DtBaseEntityDecoder:Public Member Functions | |
| DtBaseEntityDecoder (DtExerciseConn *exConn, DtObjClassDesc *classDesc) | |
| constructor | |
| virtual | ~DtBaseEntityDecoder () |
| destructor | |
| DtBaseEntityDecoder (const DtBaseEntityDecoder &orig) | |
| copy constructor | |
| DtBaseEntityDecoder & | operator= (const DtBaseEntityDecoder &orig) |
| assignment operator | |
| virtual DtHlaStateDecoder * | clone () const |
| Virtual function override. Return a new instance of this class. | |
| virtual DtHlaStateDecoder * | clone (DtObjClassDesc *classDesc) const |
| Returns a new-ed clone of this object which corresponds to the class description classDesc. | |
Static Public Member Functions | |
| static DtHlaStateDecoder * | create (DtExerciseConn *exConn, DtObjClassDesc *classDesc) |
| Create a DtBaseEntityDecoder. Caller is responsible for deletion. | |
Protected Member Functions | |
| void | addMyDecoders () |
| Add decoding functions for the attributes. | |
| virtual void | decode (const DtStateMsg &msg, DtStateRepository *stateRep) const |
| Virtual function override that sets some timestamping info, then calls down to the base class to perform decoding of attributes. | |
| DtDECLARE_BASE_ENTITY_ATTR_DECODER (Spatial) | |
| Static decode<AttributeName> member functions. | |
| DtDECLARE_BASE_ENTITY_ATTR_DECODER (RelativeSpatial) | |
| DtDECLARE_BASE_ENTITY_ATTR_DECODER (IsPartOf) | |
| DtDECLARE_BASE_ENTITY_ATTR_DECODER (IsPartOf_RPR_20014) | |
| For RPR FOM Version > 2.0014. | |
| DtDECLARE_BASE_ENTITY_ATTR_DECODER (AccelerationVector) | |
| For RPR FOM versions <= 1.0. | |
| DtDECLARE_BASE_ENTITY_ATTR_DECODER (AngularVelocityVector) | |
| DtDECLARE_BASE_ENTITY_ATTR_DECODER (EntityType) | |
| DtDECLARE_BASE_ENTITY_ATTR_DECODER (IsFrozen) | |
| DtDECLARE_BASE_ENTITY_ATTR_DECODER (Orientation) | |
| DtDECLARE_BASE_ENTITY_ATTR_DECODER (VelocityVector) | |
| DtDECLARE_BASE_ENTITY_ATTR_DECODER (DRAlgorithm) | |
| For RPR FOM versions <= 0.8. | |
| DtDECLARE_BASE_ENTITY_ATTR_DECODER (Position) | |
| DtDECLARE_BASE_ENTITY_ATTR_DECODER (EntityID) | |
| DtDECLARE_BASE_ENTITY_ATTR_DECODER (DeadReckoningAlgorithm) | |
| For RPR FOM versions > 0.8. | |
| DtDECLARE_BASE_ENTITY_ATTR_DECODER (WorldLocation) | |
| DtDECLARE_BASE_ENTITY_ATTR_DECODER (EntityIdentifier) | |
Instances of DtBaseEntityDecoder are used to decode a base entity state message into a state repository in an HLA (as opposed to DIS) environment.
| DtBaseEntityDecoder::DtBaseEntityDecoder | ( | DtExerciseConn * | exConn, |
| DtObjClassDesc * | classDesc | ||
| ) |
constructor
| virtual DtBaseEntityDecoder::~DtBaseEntityDecoder | ( | ) | [virtual] |
destructor
| DtBaseEntityDecoder::DtBaseEntityDecoder | ( | const DtBaseEntityDecoder & | orig | ) |
copy constructor
| void DtBaseEntityDecoder::addMyDecoders | ( | ) | [protected] |
Add decoding functions for the attributes.
Note: Non-virtual since meant to be called from constructors to add decoders.
Reimplemented in DtPhysicalEntityDecoder, DtLifeformDecoder, DtMilitaryPlatformEntityDecoder, DtPlatformDecoder, DtSensorDecoder, DtCulturalFeatureDecoder, DtEnvironmentEntityDecoder, DtMilitaryEntityDecoder, DtMunitionEntityDecoder, DtMunitionDecoder, DtSoldierDecoder, and DtAggregateEntityDecoder.
| virtual DtHlaStateDecoder* DtBaseEntityDecoder::clone | ( | ) | const [virtual] |
Virtual function override. Return a new instance of this class.
Reimplemented from DtHlaStateDecoder.
| virtual DtHlaStateDecoder* DtBaseEntityDecoder::clone | ( | DtObjClassDesc * | classDesc | ) | const [virtual] |
Returns a new-ed clone of this object which corresponds to the class description classDesc.
Use this function if you want a base entity subclass in the FOM to use the same decoder as its parent.
Reimplemented from DtHlaStateDecoder.
| static DtHlaStateDecoder* DtBaseEntityDecoder::create | ( | DtExerciseConn * | exConn, |
| DtObjClassDesc * | classDesc | ||
| ) | [static] |
Create a DtBaseEntityDecoder. Caller is responsible for deletion.
Reimplemented in DtPhysicalEntityDecoder, DtLifeformDecoder, DtMilitaryPlatformEntityDecoder, DtPlatformDecoder, DtSensorDecoder, DtCulturalFeatureDecoder, DtEnvironmentEntityDecoder, DtMilitaryEntityDecoder, DtMunitionEntityDecoder, DtMunitionDecoder, DtSoldierDecoder, and DtAggregateEntityDecoder.
| virtual void DtBaseEntityDecoder::decode | ( | const DtStateMsg & | msg, |
| DtStateRepository * | stateRep | ||
| ) | 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 DtHlaStateDecoder.
Reimplemented in DtPhysicalEntityDecoder.
| DtBaseEntityDecoder::DtDECLARE_BASE_ENTITY_ATTR_DECODER | ( | Spatial | ) | [protected] |
Static decode<AttributeName> member functions.
For RPR FOM versions <= 2.0006
| DtBaseEntityDecoder::DtDECLARE_BASE_ENTITY_ATTR_DECODER | ( | RelativeSpatial | ) | [protected] |
| DtBaseEntityDecoder::DtDECLARE_BASE_ENTITY_ATTR_DECODER | ( | IsPartOf | ) | [protected] |
| DtBaseEntityDecoder::DtDECLARE_BASE_ENTITY_ATTR_DECODER | ( | IsPartOf_RPR_20014 | ) | [protected] |
For RPR FOM Version > 2.0014.
| DtBaseEntityDecoder::DtDECLARE_BASE_ENTITY_ATTR_DECODER | ( | AccelerationVector | ) | [protected] |
For RPR FOM versions <= 1.0.
| DtBaseEntityDecoder::DtDECLARE_BASE_ENTITY_ATTR_DECODER | ( | AngularVelocityVector | ) | [protected] |
| DtBaseEntityDecoder::DtDECLARE_BASE_ENTITY_ATTR_DECODER | ( | EntityType | ) | [protected] |
| DtBaseEntityDecoder::DtDECLARE_BASE_ENTITY_ATTR_DECODER | ( | IsFrozen | ) | [protected] |
| DtBaseEntityDecoder::DtDECLARE_BASE_ENTITY_ATTR_DECODER | ( | Orientation | ) | [protected] |
| DtBaseEntityDecoder::DtDECLARE_BASE_ENTITY_ATTR_DECODER | ( | VelocityVector | ) | [protected] |
| DtBaseEntityDecoder::DtDECLARE_BASE_ENTITY_ATTR_DECODER | ( | DRAlgorithm | ) | [protected] |
For RPR FOM versions <= 0.8.
| DtBaseEntityDecoder::DtDECLARE_BASE_ENTITY_ATTR_DECODER | ( | Position | ) | [protected] |
| DtBaseEntityDecoder::DtDECLARE_BASE_ENTITY_ATTR_DECODER | ( | EntityID | ) | [protected] |
| DtBaseEntityDecoder::DtDECLARE_BASE_ENTITY_ATTR_DECODER | ( | DeadReckoningAlgorithm | ) | [protected] |
For RPR FOM versions > 0.8.
| DtBaseEntityDecoder::DtDECLARE_BASE_ENTITY_ATTR_DECODER | ( | WorldLocation | ) | [protected] |
| DtBaseEntityDecoder::DtDECLARE_BASE_ENTITY_ATTR_DECODER | ( | EntityIdentifier | ) | [protected] |
| DtBaseEntityDecoder& DtBaseEntityDecoder::operator= | ( | const DtBaseEntityDecoder & | orig | ) |
assignment operator