3 #ifndef DtRRBIffDecoder_H_
4 #define DtRRBIffDecoder_H_
19 #define DtDECLARE_RRB_IFF_ATTR_DECODER(attrName) \
20 DtDECLARE_ATTR_DECODER(DtIffStateRepository, attrName)
29 #define DtDEFINE_SIMPLE_RRB_IFF_ATTR_DECODER( \
30 attrName, netType, inspector) \
31 DtDEFINE_SIMPLE_RRB_IFF_ATTR_DECODER_WITH_CAST( \
32 attrName, netType, inspector, (netType))
41 #define DtDEFINE_SIMPLE_RRB_ATTR_DECODER_WITH_CAST( \
42 decClass, stateRepClass, attrName, netType, mutator, castExpr) \
43 void decClass::decode##attrName( \
44 stateRepClass* stateRep, \
45 const RTI::AttributeHandleValuePairSet& attrs, \
48 RTI::ULong length = 0; \
49 netType* netValPtr = (netType*)attributeData(attrs, index, length, sizeof(netType), #attrName); \
52 stateRep->rrb()->mutator(castExpr *netValPtr); \
61 #define DtDEFINE_SIMPLE_RRB_IFF_ATTR_DECODER_WITH_CAST( \
62 attrName, netType, mutator, castExpr) \
63 DtDEFINE_SIMPLE_RRB_ATTR_DECODER_WITH_CAST( \
64 DtRRBIffDecoder, DtIffStateRepository, \
65 attrName, netType, mutator, castExpr)
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnHLA.h:61
This file provides a declaration of the class DtIffDecoder.
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
static DtHlaStateDecoder * create(DtExerciseConn *exConn, DtObjClassDesc *classDesc)
Definition: rrbIffDecoder.h:68
An instance of DtObjClassDesc is a "class descriptor" for an HLA Object class.
Definition: objClassDesc1516.h:41
DtIffDecoder & operator=(const DtIffDecoder &orig)
assignment operator
Instances of DtRRBStateRepository are used to store state data for IFFData.RRB objects.
Definition: iffRRBStateRepository.h:29
DtHlaStateDecoder is used to provide decoding of a state message into a state repository in an HLA (a...
Definition: hlaStateDecoder.h:34
#define DtDECLARE_RRB_IFF_ATTR_DECODER(attrName)
We define several macros that can be helpful in defining the class, and the individual decoding funct...
Definition: rrbIffDecoder.h:19
The DtIffDecoder class:
Definition: iffDecoder.h:63