7 #ifndef physicalEntityDecoder_H_
8 #define physicalEntityDecoder_H_
119 static void decodeAttParts(
int numParams,
123 static void convertFromRPR1_0(
134 #define DtDEFINE_SIMPLE_PHYS_ENTITY_ATTR_DECODER_WITH_CAST( \
135 attrName, netType, mutator, castExpr) \
136 DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST( \
137 DtPhysicalEntityDecoder, DtEntityStateRepository, \
138 attrName, netType, mutator, castExpr)
140 #define DtDEFINE_SIMPLE_PHYS_ENTITY_ATTR_DECODER( \
141 attrName, netType, mutator) \
142 DtDEFINE_SIMPLE_ATTR_DECODER_MUTATOR( \
143 DtPhysicalEntityDecoder, DtEntityStateRepository, \
144 attrName, netType, mutator)
146 #define DtDEFINE_LIGHT_ATTR_DECODER( \
147 decClass, attrName, arg1) \
148 DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST_AND_PARAM( \
149 decClass, DtEntityStateRepository, attrName, DtNetBoolean, setLightState, arg1, (bool) (DtU32))