VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
rrbIffEncoder.h
Go to the documentation of this file.
1 #if DtHLA
2 
3 #ifndef DtRRBIffEncoder_H_
4 #define DtRRBIffEncoder_H_
5 
6 #include "iffEncoder.h"
7 
11 
13 
17 #define DtDECLARE_RRB_IFF_ATTR_ENCODER(attrName) \
18  DtDECLARE_ATTR_ENCODER(DtIffStateRepository, attrName)
19 
20 #define DtDECLARE_RRB_IFF_ATTR_CHECKER(attrName) \
21  DtDECLARE_ATTR_CHECKER(DtIffStateRepository, attrName)
22 
28 #define DtDEFINE_SIMPLE_RRB_IFF_ATTR_CHECKER( \
29  attrName, inspector) \
30  DtDEFINE_SIMPLE_ATTR_CHECKER(DtRRBIffEncoder, \
31  DtIffStateRepository, attrName, inspector)
32 
38 #define DtDEFINE_SIMPLE_RRB_IFF_ATTR_ENCODER( \
39  attrName, netType, mutator) \
40  DtDEFINE_SIMPLE_ATTR_ENCODER( \
41  DtRRBIffEncoder, DtIffStateRepository, \
42  attrName, netType, mutator)
43 
44 
45 class DT_DLL_VL DtRRBIffEncoder : public DtIffEncoder
46 {
47 public:
49  DtRRBIffEncoder(
50  DtExerciseConn* exConn,
51  DtObjClassDesc* classDesc);
52 
54  virtual ~DtRRBIffEncoder();
55 
57  DtRRBIffEncoder(const DtRRBIffEncoder& orig);
58 
60  DtRRBIffEncoder& operator=(const DtRRBIffEncoder& orig);
61 
62 public:
63 
64  static DtHlaStateEncoder* create(
65  DtExerciseConn* exConn,
66  DtObjClassDesc* classDesc);
67 
68 protected:
69 
70  DtDECLARE_RRB_IFF_ATTR_CHECKER(Code);
71  DtDECLARE_RRB_IFF_ATTR_CHECKER(PowerReduction);
72  DtDECLARE_RRB_IFF_ATTR_CHECKER(IsDamaged);
73  DtDECLARE_RRB_IFF_ATTR_CHECKER(IsMalfunctioning);
74  DtDECLARE_RRB_IFF_ATTR_CHECKER(IsOn);
75  DtDECLARE_RRB_IFF_ATTR_CHECKER(RadarEnhancement);
76 
77  DtDECLARE_RRB_IFF_ATTR_ENCODER(Code);
78  DtDECLARE_RRB_IFF_ATTR_ENCODER(PowerReduction);
79  DtDECLARE_RRB_IFF_ATTR_ENCODER(IsDamaged);
80  DtDECLARE_RRB_IFF_ATTR_ENCODER(IsMalfunctioning);
81  DtDECLARE_RRB_IFF_ATTR_ENCODER(IsOn);
82  DtDECLARE_RRB_IFF_ATTR_ENCODER(RadarEnhancement);
83 };
84 
85 #endif
86 #endif
87 

Document ID: Generated on Mon Jun 22 21:18:40 EDT 2020 from SVN revision 213785
Copyright © 2005-2018 MAK Technologies. All Rights Reserved (www.mak.com)