open-dis-cpp
EEFundamentalParameterData.h
1 #pragma once
2 
3 #include <dis7/utils/DataStream.h>
4 #include <dis7/opendis7_export.h>
5 
6 
7 namespace DIS
8 {
9 // Contains electromagnetic emmission regeneration parameters that are variable throught a scenario. Section 6.2.22.
10 
11 // Copyright (c) 2007-2009, MOVES Institute, Naval Postgraduate School. All rights reserved.
12 //
13 // @author DMcG, jkg
14 
15 class OPENDIS7_EXPORT EEFundamentalParameterData
16 {
17 protected:
19  float _frequency;
20 
23 
26 
29 
31  float _pulseWidth;
32 
33 
34  public:
36  virtual ~EEFundamentalParameterData();
37 
38  virtual void marshal(DataStream& dataStream) const;
39  virtual void unmarshal(DataStream& dataStream);
40 
41  float getFrequency() const;
42  void setFrequency(float pX);
43 
44  float getFrequencyRange() const;
45  void setFrequencyRange(float pX);
46 
47  float getEffectiveRadiatedPower() const;
48  void setEffectiveRadiatedPower(float pX);
49 
50  float getPulseRepetitionFrequency() const;
51  void setPulseRepetitionFrequency(float pX);
52 
53  float getPulseWidth() const;
54  void setPulseWidth(float pX);
55 
56 
57 virtual int getMarshalledSize() const;
58 
59  bool operator ==(const EEFundamentalParameterData& rhs) const;
60 };
61 }
62 
63 // Copyright (c) 1995-2009 held by the author(s). All rights reserved.
64 // Redistribution and use in source and binary forms, with or without
65 // modification, are permitted provided that the following conditions
66 // are met:
67 //
68 // * Redistributions of source code must retain the above copyright
69 // notice, this list of conditions and the following disclaimer.
70 // * Redistributions in binary form must reproduce the above copyright
71 // notice, this list of conditions and the following disclaimer
72 // in the documentation and/or other materials provided with the
73 // distribution.
74 // * Neither the names of the Naval Postgraduate School (NPS)
75 // Modeling Virtual Environments and Simulation (MOVES) Institute
76 // (http://www.nps.edu and http://www.MovesInstitute.org)
77 // nor the names of its contributors may be used to endorse or
78 // promote products derived from this software without specific
79 // prior written permission.
80 //
81 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
82 // AS IS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
83 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
84 // FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
85 // COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
86 // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
87 // BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
88 // LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
89 // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
90 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
91 // ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
92 // POSSIBILITY OF SUCH DAMAGE.
Symbolic names as defined in 5.1.4.
Definition: AcknowledgePdu.h:8
Definition: EEFundamentalParameterData.h:15
a class to support managing a network buffer.
Definition: DataStream.h:28
float _pulseRepetitionFrequency
Average repetition frequency of the emission in hertz.
Definition: EEFundamentalParameterData.h:28
float _effectiveRadiatedPower
Effective radiated power for the emission in DdBm.
Definition: EEFundamentalParameterData.h:25
float _frequency
center frequency of the emission in hertz.
Definition: EEFundamentalParameterData.h:19
float _pulseWidth
Average pulse width of the emission in microseconds.
Definition: EEFundamentalParameterData.h:31
float _frequencyRange
Bandwidth of the frequencies corresponding to the fequency field.
Definition: EEFundamentalParameterData.h:22