VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
baseEmitterBeamEncoder.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 MAK Technologies, Inc
3 ** All rights reserved.
4 *********************************************************************/
5 
6 
7 #if DtHLA
8 
9 #ifndef DtBaseEmitterBeamEncoder_H_
10 #define DtBaseEmitterBeamEncoder_H_
11 
12 
13 #include "hlaStateEncoder.h"
14 
18 
19 
20 
21 //These constants are probably bogus since I could not find out
22 //their actual value in either the RPR FOM spec or the DIS spec.
23 //This means the checker function will always update whenever there
24 //is a change in their values - RAF.
26 
27 #define EE_AZ_THRSH 0.0
28 #define EE_EL_THRSH 0.0
29 #define EE_FREQ_THRSH 0.0
30 #define EE_FRNG_THRSH 0.0
31 #define EE_PRF_THRSH 0.0
32 #define EE_PW_THRSH 0.0
33 
34 
36 
39 #define DtDECLARE_BASE_EMITTERBEAM_ATTR_CHECKER(attrName) \
40  DtDECLARE_ATTR_CHECKER(DtEmitterBeamRepository, attrName)
41 
44 #define DtDECLARE_BASE_EMITTERBEAM_ATTR_ENCODER(attrName) \
45  DtDECLARE_ATTR_ENCODER(DtEmitterBeamRepository, attrName)
46 
47 
53 {
54 public:
55 
58  DtExerciseConn* exConn,
59  DtObjClassDesc* classDesc);
60 
62  virtual ~DtBaseEmitterBeamEncoder();
63 
66 
69 
70 public:
71 
73  static DtHlaStateEncoder* create(
74  DtExerciseConn* exConn,
75  DtObjClassDesc* classDesc);
76 
77 protected:
78 
79  DtDECLARE_BASE_EMITTERBEAM_ATTR_CHECKER(BeamParameterIndex);
97  DtDECLARE_BASE_EMITTERBEAM_ATTR_CHECKER(BeamAzimuthCenter);
101  DtDECLARE_BASE_EMITTERBEAM_ATTR_CHECKER(BeamElevationCenter);
102  DtDECLARE_BASE_EMITTERBEAM_ATTR_CHECKER(BeamElevationSweep);
103  DtDECLARE_BASE_EMITTERBEAM_ATTR_CHECKER(EmitterSystemIdentifier);
104  DtDECLARE_BASE_EMITTERBEAM_ATTR_CHECKER(EffectiveRadiatedPower);
106  DtDECLARE_BASE_EMITTERBEAM_ATTR_CHECKER(EmissionFrequency);
107  DtDECLARE_BASE_EMITTERBEAM_ATTR_CHECKER(PulseRepetitionFrequency);
108 
109  DtDECLARE_BASE_EMITTERBEAM_ATTR_ENCODER(BeamParameterIndex);
120  DtDECLARE_BASE_EMITTERBEAM_ATTR_ENCODER(EmittingSystemID);
127  DtDECLARE_BASE_EMITTERBEAM_ATTR_ENCODER(BeamAzimuthCenter);
128  DtDECLARE_BASE_EMITTERBEAM_ATTR_ENCODER(BeamAzimuthSweep);
129  DtDECLARE_BASE_EMITTERBEAM_ATTR_ENCODER(BeamFunctionCode);
131  DtDECLARE_BASE_EMITTERBEAM_ATTR_ENCODER(BeamElevationCenter);
132  DtDECLARE_BASE_EMITTERBEAM_ATTR_ENCODER(BeamElevationSweep);
133  DtDECLARE_BASE_EMITTERBEAM_ATTR_ENCODER(EmitterSystemIdentifier);
134  DtDECLARE_BASE_EMITTERBEAM_ATTR_ENCODER(EffectiveRadiatedPower);
136  DtDECLARE_BASE_EMITTERBEAM_ATTR_ENCODER(EmissionFrequency);
137  DtDECLARE_BASE_EMITTERBEAM_ATTR_ENCODER(PulseRepetitionFrequency);
138 };
139 
145 #define DtDEFINE_SIMPLE_BASE_EMITTERBEAM_ATTR_ENCODER( \
146  attrName, netType, inspector) \
147  DtDEFINE_SIMPLE_ATTR_ENCODER(DtBaseEmitterBeamEncoder, \
148  DtEmitterBeamRepository, \
149  attrName, netType, inspector)
150 
156 #define DtDEFINE_SIMPLE_BASE_EMITTERBEAM_ATTR_CHECKER( \
157  attrName, inspector) \
158  DtDEFINE_SIMPLE_ATTR_CHECKER(DtBaseEmitterBeamEncoder, \
159  DtEmitterBeamRepository, \
160  attrName, inspector)
161 
162 #endif //DtBaseEmitterBeamEncoder_H_
163 
164 #endif //DtHLA
165 
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnHLA.h:61
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
This file contains the declaration of DtHlaStateEncoder.
Instances of DtBaseEmitterBeamEncoder are are used to encode base emitter beam state messages from th...
Definition: baseEmitterBeamEncoder.h:52
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: objClassDesc13.h:41
class DtEmitterBeamRepository:
Definition: emitterBeamRepository.h:42
#define DtDECLARE_BASE_EMITTERBEAM_ATTR_CHECKER(attrName)
This is used to declare static member functions for determining whether or not an attribute needs to ...
Definition: baseEmitterBeamEncoder.h:39
#define DtDECLARE_BASE_EMITTERBEAM_ATTR_ENCODER(attrName)
This is used to declare attribute encoding functions which are members of the class.
Definition: baseEmitterBeamEncoder.h:44
DtHlaStateEncoder & operator=(const DtHlaStateEncoder &orig)
assignment operator

Document ID: Generated on Wed Mar 27 02:04:30 EDT 2024 from SVN revision 264570
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)