VR-Link API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
baseEmitterBeamDecoder.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 
6 
7 #if DtHLA
8 
9 #ifndef DtBaseEmitterBeamDecoder_H_
10 #define DtBaseEmitterBeamDecoder_H_
11 
12 
13 #include "hlaStateDecoder.h"
14 
18 
20 
23 #define DtDECLARE_EMITTERBEAM_ATTR_DECODER(attrName) \
24  DtDECLARE_ATTR_DECODER(DtEmitterBeamRepository, attrName)
25 
31 
33 {
34 public:
35 
38  DtExerciseConn* exConn,
39  DtObjClassDesc* classDesc);
40 
42  virtual ~DtBaseEmitterBeamDecoder();
43 
46 
48  DtBaseEmitterBeamDecoder& operator=
49  (const DtBaseEmitterBeamDecoder& orig);
50 
51 public:
52 
54  static DtHlaStateDecoder* create(
55  DtExerciseConn* exConn,
56  DtObjClassDesc* classDesc);
57 
58 protected:
59 
63  void addMyDecoders();
64 
66  DtDECLARE_EMITTERBEAM_ATTR_DECODER(BeamParameterIndex);
67  DtDECLARE_EMITTERBEAM_ATTR_DECODER(FrequencyRange);
70 
76  DtDECLARE_EMITTERBEAM_ATTR_DECODER(ElevationCenter);
77  DtDECLARE_EMITTERBEAM_ATTR_DECODER(ElevationSweep);
78  DtDECLARE_EMITTERBEAM_ATTR_DECODER(EmittingSystemID);
84 
86  DtDECLARE_EMITTERBEAM_ATTR_DECODER(BeamAzimuthCenter);
87  DtDECLARE_EMITTERBEAM_ATTR_DECODER(BeamAzimuthSweep);
88  DtDECLARE_EMITTERBEAM_ATTR_DECODER(BeamFunctionCode);
89  DtDECLARE_EMITTERBEAM_ATTR_DECODER(BeamIdentifier);
90  DtDECLARE_EMITTERBEAM_ATTR_DECODER(BeamElevationCenter);
91  DtDECLARE_EMITTERBEAM_ATTR_DECODER(BeamElevationSweep);
92  DtDECLARE_EMITTERBEAM_ATTR_DECODER(EmitterSystemIdentifier);
93  DtDECLARE_EMITTERBEAM_ATTR_DECODER(EffectiveRadiatedPower);
94  DtDECLARE_EMITTERBEAM_ATTR_DECODER(EventIdentifier);
95  DtDECLARE_EMITTERBEAM_ATTR_DECODER(EmissionFrequency);
96  DtDECLARE_EMITTERBEAM_ATTR_DECODER(PulseRepetitionFrequency);
97 };
98 
104 #define DtDEFINE_SIMPLE_BASE_EMITTERBEAM_ATTR_DECODER_WITH_CAST( \
105  attrName, netType, mutator, castExpr) \
106  DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST( \
107  DtBaseEmitterBeamDecoder, DtEmitterBeamRepository, \
108  attrName, netType, mutator, castExpr)
109 
110 #define DtDEFINE_SIMPLE_BASE_EMITTERBEAM_ATTR_DECODER( \
111  attrName, netType, mutator) \
112  DtDEFINE_SIMPLE_ATTR_DECODER_MUTATOR( \
113  DtBaseEmitterBeamDecoder, DtEmitterBeamRepository, \
114  attrName, netType, mutator)
115 
116 #define DtDEFINE_SIMPLE_BASE_EMITTERBEAM_ATTR_DECODER_SET( \
117  attrName, netType) \
118  DtDEFINE_SIMPLE_ATTR_DECODER_SET( \
119  DtBaseEmitterBeamDecoder, DtEmitterBeamRepository, \
120  attrName, netType)
121 
122 #endif //DtBaseEmitterBeamDecoder_H_
123 
124 #endif //DtHLA
125 

Document ID: Generated on Mon Apr 8 04:49:21 EDT 2019 from SVN revision 197403
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)