VR-Link API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions
DtAggregateEntityDecoder Class Reference

class DtAggregateEntityDecoder: More...

+ Inheritance diagram for DtAggregateEntityDecoder:
+ Collaboration diagram for DtAggregateEntityDecoder:

Public Member Functions

 DtAggregateEntityDecoder (DtExerciseConn *exConn, DtObjClassDesc *classDesc)
 constructor
virtual ~DtAggregateEntityDecoder ()
 destructor
 DtAggregateEntityDecoder (const DtAggregateEntityDecoder &orig)
 copy constructor
DtAggregateEntityDecoderoperator= (const DtAggregateEntityDecoder &orig)
 assignment operator
- Public Member Functions inherited from DtBaseEntityDecoder
 DtBaseEntityDecoder (DtExerciseConn *exConn, DtObjClassDesc *classDesc)
 constructor
virtual ~DtBaseEntityDecoder ()
 destructor
 DtBaseEntityDecoder (const DtBaseEntityDecoder &orig)
 copy constructor
DtBaseEntityDecoderoperator= (const DtBaseEntityDecoder &orig)
 assignment operator
virtual DtHlaStateDecoderclone () const
 Virtual function override. Return a new instance of this class.
virtual DtHlaStateDecoderclone (DtObjClassDesc *classDesc) const
 Returns a new-ed clone of this object which corresponds to the class description classDesc.
- Public Member Functions inherited from DtHlaStateDecoder
 DtHlaStateDecoder (DtExerciseConn *exConn, DtObjClassDesc *classDesc)
 constructor
virtual ~DtHlaStateDecoder ()
 destructor
 DtHlaStateDecoder (const DtHlaStateDecoder &orig)
 copy constructor
DtHlaStateDecoderoperator= (const DtHlaStateDecoder &orig)
 assignment operator
DtAttributeDecoder addDecoder (RTI::AttributeHandle h, DtAttributeDecoder func)
 Add/Remove a decoding function for the attribute specified by handle.
DtAttributeDecoder removeDecoder (RTI::AttributeHandle h)
DtAttributeDecoder addDecoder (char *attrName, DtAttributeDecoder func, bool complain=true)
 Add/Remove a decoding function for the attribute specified by name.
DtAttributeDecoder removeDecoder (char *attrName, bool complain=true)
virtual DtAttributeDecoder decoder (const RTI::AttributeHandle &handle) const
 Get the attribute decoder for the specified handle.
virtual RTI::ObjectClassHandle objectClassHandle () const
 Get the object's class handle.

Static Public Member Functions

static DtHlaStateDecodercreate (DtExerciseConn *exConn, DtObjClassDesc *classDesc)
 Create a DtAggregateEntityDecoder.

Protected Member Functions

void addMyDecoders ()
 Add decoding functions for the attributes.
 DtDECLARE_AGGREGATE_ATTR_DECODER (AggregateMarking)
 static decode<AttributeName> member functions.
 DtDECLARE_AGGREGATE_ATTR_DECODER (AggregateState)
 DtDECLARE_AGGREGATE_ATTR_DECODER (Dimensions)
 DtDECLARE_AGGREGATE_ATTR_DECODER (EntityIdentifiers)
 DtDECLARE_AGGREGATE_ATTR_DECODER (EntityIDs)
 DtDECLARE_AGGREGATE_ATTR_DECODER (ForceIdentifier)
 DtDECLARE_AGGREGATE_ATTR_DECODER (ForceID)
 DtDECLARE_AGGREGATE_ATTR_DECODER (Formation)
 DtDECLARE_AGGREGATE_ATTR_DECODER (NumberOfSilentEntities)
 DtDECLARE_AGGREGATE_ATTR_DECODER (NumberOfVariableDatums)
 DtDECLARE_AGGREGATE_ATTR_DECODER (NumberOfEntities)
 DtDECLARE_AGGREGATE_ATTR_DECODER (SilentAggregates)
 DtDECLARE_AGGREGATE_ATTR_DECODER (SilentEntities)
 DtDECLARE_AGGREGATE_ATTR_DECODER (SilentEntitiesRPR_20beta)
 DtDECLARE_AGGREGATE_ATTR_DECODER (SilentEntitiesRPR_20)
 DtDECLARE_AGGREGATE_ATTR_DECODER (SubAggregateIdentifiers)
 DtDECLARE_AGGREGATE_ATTR_DECODER (SubAggregateIDs)
 DtDECLARE_AGGREGATE_ATTR_DECODER (VariableDatums)
 DtDECLARE_AGGREGATE_ATTR_DECODER (EntityIdentifiers_RPR20)
 For RPR 2.0 compatibility.
 DtDECLARE_AGGREGATE_ATTR_DECODER (SubAggregateIdentifiers_RPR20)
- Protected Member Functions inherited from DtBaseEntityDecoder
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)
- Protected Member Functions inherited from DtHlaStateDecoder
virtual void decodeAttribute (DtStateRepository *stateRep, const RTI::AttributeHandleValuePairSet &attrs, unsigned long pairSetIndex) const
 Decode the attribute at the specified index in the attribute handle pair set.
virtual void copyDecFuncs (const DtHlaStateDecoder &orig)

Additional Inherited Members

- Public Types inherited from DtHlaStateDecoder
typedef void(* DtAttributeDecoder )(DtStateRepository *stateRep, const RTI::AttributeHandleValuePairSet &avlist, unsigned long pairSetIndex)
 Attribute decoding function declaration.
- Static Public Attributes inherited from DtHlaStateDecoder
static bool theUseGetValuePointer
- Protected Types inherited from DtHlaStateDecoder
typedef std::map
< RTI::AttributeHandle,
DtAttributeDecoder
AttributeHandleDecoderMap
typedef std::map
< RTI::AttributeHandle, bool
AttributeHandleBoolMap
- Protected Attributes inherited from DtHlaStateDecoder
DtExerciseConnmyExConn
DtObjClassDescmyClassDesc
RTI::ObjectClassHandle myHandle
AttributeHandleDecoderMap myDecoderList
 myDecoderList is a map of decoders for each attribute registered to this state.

Detailed Description

class DtAggregateEntityDecoder:

Instances of DtAggregateEntityDecoder are used to decode an aggregate state message into a state repository in an HLA (as opposed to DIS) environment.

Constructor & Destructor Documentation

DtAggregateEntityDecoder::DtAggregateEntityDecoder ( DtExerciseConn exConn,
DtObjClassDesc classDesc 
)

constructor

virtual DtAggregateEntityDecoder::~DtAggregateEntityDecoder ( )
virtual

destructor

DtAggregateEntityDecoder::DtAggregateEntityDecoder ( const DtAggregateEntityDecoder orig)

copy constructor

Member Function Documentation

void DtAggregateEntityDecoder::addMyDecoders ( )
protected

Add decoding functions for the attributes.

Note: Non-virtual since meant to be called from constructors to add decoders.

Reimplemented from DtBaseEntityDecoder.

static DtHlaStateDecoder* DtAggregateEntityDecoder::create ( DtExerciseConn exConn,
DtObjClassDesc classDesc 
)
static

Create a DtAggregateEntityDecoder.

User is responsible for deletion.

Reimplemented from DtBaseEntityDecoder.

DtAggregateEntityDecoder::DtDECLARE_AGGREGATE_ATTR_DECODER ( AggregateMarking  )
protected

static decode<AttributeName> member functions.

DtAggregateEntityDecoder::DtDECLARE_AGGREGATE_ATTR_DECODER ( AggregateState  )
protected
DtAggregateEntityDecoder::DtDECLARE_AGGREGATE_ATTR_DECODER ( Dimensions  )
protected
DtAggregateEntityDecoder::DtDECLARE_AGGREGATE_ATTR_DECODER ( EntityIdentifiers  )
protected
DtAggregateEntityDecoder::DtDECLARE_AGGREGATE_ATTR_DECODER ( EntityIDs  )
protected
DtAggregateEntityDecoder::DtDECLARE_AGGREGATE_ATTR_DECODER ( ForceIdentifier  )
protected
DtAggregateEntityDecoder::DtDECLARE_AGGREGATE_ATTR_DECODER ( ForceID  )
protected
DtAggregateEntityDecoder::DtDECLARE_AGGREGATE_ATTR_DECODER ( Formation  )
protected
DtAggregateEntityDecoder::DtDECLARE_AGGREGATE_ATTR_DECODER ( NumberOfSilentEntities  )
protected
DtAggregateEntityDecoder::DtDECLARE_AGGREGATE_ATTR_DECODER ( NumberOfVariableDatums  )
protected
DtAggregateEntityDecoder::DtDECLARE_AGGREGATE_ATTR_DECODER ( NumberOfEntities  )
protected
DtAggregateEntityDecoder::DtDECLARE_AGGREGATE_ATTR_DECODER ( SilentAggregates  )
protected
DtAggregateEntityDecoder::DtDECLARE_AGGREGATE_ATTR_DECODER ( SilentEntities  )
protected
DtAggregateEntityDecoder::DtDECLARE_AGGREGATE_ATTR_DECODER ( SilentEntitiesRPR_20beta  )
protected
DtAggregateEntityDecoder::DtDECLARE_AGGREGATE_ATTR_DECODER ( SilentEntitiesRPR_20  )
protected
DtAggregateEntityDecoder::DtDECLARE_AGGREGATE_ATTR_DECODER ( SubAggregateIdentifiers  )
protected
DtAggregateEntityDecoder::DtDECLARE_AGGREGATE_ATTR_DECODER ( SubAggregateIDs  )
protected
DtAggregateEntityDecoder::DtDECLARE_AGGREGATE_ATTR_DECODER ( VariableDatums  )
protected
DtAggregateEntityDecoder::DtDECLARE_AGGREGATE_ATTR_DECODER ( EntityIdentifiers_RPR20  )
protected

For RPR 2.0 compatibility.

DtAggregateEntityDecoder::DtDECLARE_AGGREGATE_ATTR_DECODER ( SubAggregateIdentifiers_RPR20  )
protected
DtAggregateEntityDecoder& DtAggregateEntityDecoder::operator= ( const DtAggregateEntityDecoder orig)

assignment operator


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Dec 2 02:42:08 EST 2016 from SVN revision 171416
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)