3 #ifndef DtSovietIffEncoder_H_
4 #define DtSovietIffEncoder_H_
21 #define DtDECLARE_SOVIET_IFF_ATTR_CHECKER(attrName) \
22 DtDECLARE_ATTR_CHECKER(DtIffStateRepository, attrName)
26 #define DtDECLARE_SOVIET_IFF_ATTR_ENCODER(attrName) \
27 DtDECLARE_ATTR_ENCODER(DtIffStateRepository, attrName)
33 #define DtDEFINE_SIMPLE_SOVIET_IFF_ATTR_ENCODER( \
34 attrName, netType, inspector) \
35 DtDEFINE_SIMPLE_ATTR_ENCODER(DtSovietIffEncoder, \
36 DtIffStateRepository, attrName, netType, inspector)
43 #define DtDEFINE_SIMPLE_SOVIET_IFF_ATTR_CHECKER( \
44 attrName, inspector) \
45 DtDEFINE_SIMPLE_ATTR_CHECKER(DtSovietIffEncoder, \
46 DtIffStateRepository, attrName, inspector)
53 #define DtDEFINE_SIMPLE_SOVIET_IFF_ATTR_ENCODER_WITH_PARAM( \
54 attrName, netType, inspector, param) \
55 DtDEFINE_SIMPLE_IFF_ATTR_ENCODER_WITH_PARAM( \
56 DtSovietIffEncoder, attrName, netType, inspector, param)
63 #define DtDEFINE_SIMPLE_SOVIET_IFF_ATTR_CHECKER_WITH_PARAM( \
64 attrName, inspector, param) \
65 DtDEFINE_SIMPLE_IFF_ATTR_CHECKER_WITH_PARAM( \
66 DtSovietIffEncoder, attrName, inspector, param)
159 #define DtDEFINE_SIMPLE_MAKRPR3_SOVIET_IFF_TRANSPONDER_ATTR_ENCODER( \
160 attrName, netType, inspector) \
161 DtDEFINE_SIMPLE_ATTR_ENCODER(DtMAKRPR3_SovietIffTransponderEncoder, \
162 DtIffStateRepository, attrName, netType, inspector)
169 #define DtDEFINE_SIMPLE_MAKRPR3_SOVIET_IFF_TRANSPONDER_ATTR_CHECKER( \
170 attrName, inspector) \
171 DtDEFINE_SIMPLE_ATTR_CHECKER(DtMAKRPR3_SovietIffTransponderEncoder, \
172 DtIffStateRepository, attrName, inspector)
208 #define DtDEFINE_SIMPLE_MAKRPR3_SOVIET_IFF_INTERROGATOR_ATTR_ENCODER( \
209 attrName, netType, inspector) \
210 DtDEFINE_SIMPLE_ATTR_ENCODER(DtMAKRPR3_SovietIffInterrogatorEncoder, \
211 DtIffStateRepository, attrName, netType, inspector)
218 #define DtDEFINE_SIMPLE_MAKRPR3_SOVIET_IFF_INTERROGATOR_ATTR_CHECKER( \
219 attrName, inspector) \
220 DtDEFINE_SIMPLE_ATTR_CHECKER(DtMAKRPR3_SovietIffInterrogatorEncoder, \
221 DtIffStateRepository, attrName, inspector)
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnHLA.h:58
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
This file provides a declaration of the class DtIffEncoder.
#define DtDECLARE_SOVIET_IFF_ATTR_ENCODER(attrName)
This is used to declare static member functions that perform attribute encoding.
Definition: sovietIffEncoder.h:26
Defines a protocol independent repository of attributes for IFF objects.
Definition: iffStateRepository.h:57
static DtHlaStateEncoder * create(DtExerciseConn *exConn, DtObjClassDesc *classDesc)
DtHlaStateEncoder is used to provide encoding of a state repository into a state message in an HLA (a...
Definition: hlaStateEncoder.h:30
An instance of DtObjClassDesc is a "class descriptor" for an HLA Object class.
Definition: objClassDesc1516.h:41
DtSovietIffEncoder & operator=(const DtSovietIffEncoder &orig)
assignment operator
DtDECLARE_SOVIET_IFF_ATTR_CHECKER(Parameter1Enabled)
Definition: sovietIffEncoder.h:68
#define DtDECLARE_SOVIET_IFF_ATTR_CHECKER(attrName)
We define several macros that can be helpful in defining the class, and the individual decoding funct...
Definition: sovietIffEncoder.h:21
The DtIffEncoder class:
Definition: iffEncoder.h:90
DtDECLARE_SOVIET_IFF_ATTR_ENCODER(Parameter1Enabled)
static DtHlaStateEncoder * create(DtExerciseConn *exConn, DtObjClassDesc *classDesc)
Definition: sovietIffEncoder.h:174
DtIffEncoder & operator=(const DtIffEncoder &orig)
assignment operator
Definition: sovietIffEncoder.h:223