7 #ifndef physicalEntityDecoder_H_
8 #define physicalEntityDecoder_H_
130 static void decodeAttParts(
int numParams,
134 static void convertFromRPR1_0(
145 #define DtDEFINE_SIMPLE_PHYS_ENTITY_ATTR_DECODER_WITH_CAST( \
146 attrName, netType, mutator, castExpr) \
147 DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST( \
148 DtPhysicalEntityDecoder, DtEntityStateRepository, \
149 attrName, netType, mutator, castExpr)
151 #define DtDEFINE_SIMPLE_PHYS_ENTITY_ATTR_DECODER( \
152 attrName, netType, mutator) \
153 DtDEFINE_SIMPLE_ATTR_DECODER_MUTATOR( \
154 DtPhysicalEntityDecoder, DtEntityStateRepository, \
155 attrName, netType, mutator)
157 #define DtDEFINE_LIGHT_ATTR_DECODER( \
158 decClass, attrName, arg1) \
159 DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST_AND_PARAM( \
160 decClass, DtEntityStateRepository, attrName, DtNetBoolean, setLightState, arg1, (bool) (DtU32))
A DtAttachedPartCollection is a collection of attached parts of an entity.
Definition: attachedPartCollection.h:24
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnHLA.h:61
Definition: netStructs.h:534
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
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 perf...
Instances of DtBaseEntityDecoder are used to decode a base entity state message into a state reposito...
Definition: baseEntityDecoder.h:41
void addMyDecoders()
Add decoding functions for the attributes.
This file contains the declaration of DtClock and DtTime.
class DtPhysicalEntityDecoder:
Definition: physicalEntityDecoder.h:32
An instance of DtObjClassDesc is a "class descriptor" for an HLA Object class.
Definition: objClassDesc1516.h:41
A DtArticulatedPartCollection is a collection of articulated parts typically of an entity...
Definition: articulatedPartCollection.h:29
Instances of DtEntityStateRepository are used to maintain attributes and state of entity objects in a...
Definition: entityStateRepository.h:42
DtHlaStateDecoder is used to provide decoding of a state message into a state repository in an HLA (a...
Definition: hlaStateDecoder.h:34
This file provides a declaration of the class DtBaseEntityDecoder.
Definition: netStructs.h:467
DtStateRepository is an abstract base class for maintaining state for an object.
Definition: stateRepository.h:50
Definition: netStructs.h:478
static DtHlaStateDecoder * create(DtExerciseConn *exConn, DtObjClassDesc *classDesc)
Create a DtBaseEntityDecoder. Caller is responsible for deletion.
DtBaseEntityDecoder & operator=(const DtBaseEntityDecoder &orig)
assignment operator
class DtStateMsg:
Definition: stateMsgHLA.h:32
#define DtDECLARE_ENTITY_ATTR_DECODER(attrName)
This is used to declare attribute decoding functions which are members of the class.
Definition: baseEntityDecoder.h:23