VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
rrbIffDecoder.h
Go to the documentation of this file.
1 #if DtHLA
2 
3 #ifndef DtRRBIffDecoder_H_
4 #define DtRRBIffDecoder_H_
5 
6 #include "iffDecoder.h"
7 
11 
14 
18 #define DtDECLARE_RRB_IFF_ATTR_DECODER(attrName) \
19  DtDECLARE_ATTR_DECODER(DtIffStateRepository, attrName)
20 
28 #define DtDEFINE_SIMPLE_RRB_IFF_ATTR_DECODER( \
29  attrName, netType, inspector) \
30  DtDEFINE_SIMPLE_RRB_IFF_ATTR_DECODER_WITH_CAST( \
31  attrName, netType, inspector, (netType))
32 
38 #define DtDEFINE_SIMPLE_RRB_IFF_ATTR_DECODER_WITH_CAST( \
39  attrName, netType, mutator, castExpr) \
40  DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST( \
41  DtRRBIffDecoder, DtIffStateRepository, \
42  attrName, netType, mutator, castExpr)
43 
44 
45 class DT_DLL_VL DtRRBIffDecoder : public DtIffDecoder
46 {
47 public:
49  DtRRBIffDecoder(
50  DtExerciseConn* exConn,
51  DtObjClassDesc* classDesc);
52 
54  virtual ~DtRRBIffDecoder();
55 
57  DtRRBIffDecoder(const DtRRBIffDecoder& orig);
58 
60  DtRRBIffDecoder& operator=(const DtRRBIffDecoder& orig);
61 
62 public:
63 
64  static DtHlaStateDecoder* create(
65  DtExerciseConn* exConn,
66  DtObjClassDesc* classDesc);
67 
68 protected:
69 
70  DtDECLARE_RRB_IFF_ATTR_DECODER(Code);
71  DtDECLARE_RRB_IFF_ATTR_DECODER(PowerReduction);
72  DtDECLARE_RRB_IFF_ATTR_DECODER(IsDamaged);
73  DtDECLARE_RRB_IFF_ATTR_DECODER(IsMalfunctioning);
74  DtDECLARE_RRB_IFF_ATTR_DECODER(IsOn);
75  DtDECLARE_RRB_IFF_ATTR_DECODER(RadarEnhancement);
76 };
77 
78 #endif
79 #endif
80 

Document ID: Generated on Wed Jan 7 13:31:29 EST 2015 from SVN revision 149162
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)