open-dis-cpp
FundamentalParameterData.h
1 #pragma once
2 
3 #include <dis6/utils/DataStream.h>
4 #include <dis6/opendis6_export.h>
5 
6 
7 namespace DIS
8 {
9 // Section 5.2.22. Contains electromagnetic emmision regineratin parameters that are variable throughout a scenario dependent on the actions of the participants in the simulation. Also provides basic parametric data that may be used to support low-fidelity simulations.
10 
11 // Copyright (c) 2007-2009, MOVES Institute, Naval Postgraduate School. All rights reserved.
12 //
13 // @author DMcG, jkg
14 
15 class OPENDIS6_EXPORT FundamentalParameterData
16 {
17 protected:
19  float _frequency;
20 
23 
26 
29 
31  float _pulseWidth;
32 
35 
38 
41 
44 
47 
48 
49  public:
51  virtual ~FundamentalParameterData();
52 
53  virtual void marshal(DataStream& dataStream) const;
54  virtual void unmarshal(DataStream& dataStream);
55 
56  float getFrequency() const;
57  void setFrequency(float pX);
58 
59  float getFrequencyRange() const;
60  void setFrequencyRange(float pX);
61 
62  float getEffectiveRadiatedPower() const;
63  void setEffectiveRadiatedPower(float pX);
64 
65  float getPulseRepetitionFrequency() const;
66  void setPulseRepetitionFrequency(float pX);
67 
68  float getPulseWidth() const;
69  void setPulseWidth(float pX);
70 
71  float getBeamAzimuthCenter() const;
72  void setBeamAzimuthCenter(float pX);
73 
74  float getBeamAzimuthSweep() const;
75  void setBeamAzimuthSweep(float pX);
76 
77  float getBeamElevationCenter() const;
78  void setBeamElevationCenter(float pX);
79 
80  float getBeamElevationSweep() const;
81  void setBeamElevationSweep(float pX);
82 
83  float getBeamSweepSync() const;
84  void setBeamSweepSync(float pX);
85 
86 
87 virtual int getMarshalledSize() const;
88 
89  bool operator ==(const FundamentalParameterData& rhs) const;
90 };
91 }
92 
93 // Copyright (c) 1995-2009 held by the author(s). All rights reserved.
94 // Redistribution and use in source and binary forms, with or without
95 // modification, are permitted provided that the following conditions
96 // are met:
97 //
98 // * Redistributions of source code must retain the above copyright
99 // notice, this list of conditions and the following disclaimer.
100 // * Redistributions in binary form must reproduce the above copyright
101 // notice, this list of conditions and the following disclaimer
102 // in the documentation and/or other materials provided with the
103 // distribution.
104 // * Neither the names of the Naval Postgraduate School (NPS)
105 // Modeling Virtual Environments and Simulation (MOVES) Institute
106 // (http://www.nps.edu and http://www.MovesInstitute.org)
107 // nor the names of its contributors may be used to endorse or
108 // promote products derived from this software without specific
109 // prior written permission.
110 //
111 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
112 // AS IS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
113 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
114 // FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
115 // COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
116 // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
117 // BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
118 // LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
119 // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
120 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
121 // ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
122 // POSSIBILITY OF SUCH DAMAGE.
Symbolic names as defined in 5.1.4.
Definition: AcknowledgePdu.h:8
float _effectiveRadiatedPower
Effective radiated power for the emission in DdBm.
Definition: FundamentalParameterData.h:25
float _beamSweepSync
allows receiver to synchronize its regenerated scan pattern to that of the emmitter.
Definition: FundamentalParameterData.h:46
a class to support managing a network buffer.
Definition: DataStream.h:28
float _beamAzimuthSweep
Specifies the beam azimuth sweep to determine scan volume.
Definition: FundamentalParameterData.h:37
float _frequencyRange
Bandwidth of the frequencies corresponding to the fequency field.
Definition: FundamentalParameterData.h:22
float _beamAzimuthCenter
Specifies the beam azimuth an elevation centers and corresponding half-angles to describe the scan vo...
Definition: FundamentalParameterData.h:34
float _pulseRepetitionFrequency
Average repetition frequency of the emission in hertz.
Definition: FundamentalParameterData.h:28
float _beamElevationCenter
Specifies the beam elevation center to determine scan volume.
Definition: FundamentalParameterData.h:40
float _frequency
center frequency of the emission in hertz.
Definition: FundamentalParameterData.h:19
float _beamElevationSweep
Specifies the beam elevation sweep to determine scan volume.
Definition: FundamentalParameterData.h:43
Definition: FundamentalParameterData.h:15
float _pulseWidth
Average pulse width of the emission in microseconds.
Definition: FundamentalParameterData.h:31