open-dis-cpp
UAFundamentalParameter.h
1 #pragma once
2 
3 #include <dis7/utils/DataStream.h>
4 #include <dis7/opendis7_export.h>
5 
6 
7 namespace DIS
8 {
9 // Regeneration parameters for active emission systems that are variable throughout a scenario. Section 6.2.90
10 
11 // Copyright (c) 2007-2009, MOVES Institute, Naval Postgraduate School. All rights reserved.
12 //
13 // @author DMcG, jkg
14 
15 class OPENDIS7_EXPORT UAFundamentalParameter
16 {
17 protected:
20 
22  unsigned short _scanPattern;
23 
26 
29 
32 
35 
36 
37  public:
39  virtual ~UAFundamentalParameter();
40 
41  virtual void marshal(DataStream& dataStream) const;
42  virtual void unmarshal(DataStream& dataStream);
43 
44  unsigned short getActiveEmissionParameterIndex() const;
45  void setActiveEmissionParameterIndex(unsigned short pX);
46 
47  unsigned short getScanPattern() const;
48  void setScanPattern(unsigned short pX);
49 
50  float getBeamCenterAzimuthHorizontal() const;
51  void setBeamCenterAzimuthHorizontal(float pX);
52 
53  float getAzimuthalBeamwidthHorizontal() const;
54  void setAzimuthalBeamwidthHorizontal(float pX);
55 
56  float getBeamCenterDepressionElevation() const;
57  void setBeamCenterDepressionElevation(float pX);
58 
59  float getBeamwidthDownElevation() const;
60  void setBeamwidthDownElevation(float pX);
61 
62 
63 virtual int getMarshalledSize() const;
64 
65  bool operator ==(const UAFundamentalParameter& rhs) const;
66 };
67 }
68 
69 // Copyright (c) 1995-2009 held by the author(s). All rights reserved.
70 // Redistribution and use in source and binary forms, with or without
71 // modification, are permitted provided that the following conditions
72 // are met:
73 //
74 // * Redistributions of source code must retain the above copyright
75 // notice, this list of conditions and the following disclaimer.
76 // * Redistributions in binary form must reproduce the above copyright
77 // notice, this list of conditions and the following disclaimer
78 // in the documentation and/or other materials provided with the
79 // distribution.
80 // * Neither the names of the Naval Postgraduate School (NPS)
81 // Modeling Virtual Environments and Simulation (MOVES) Institute
82 // (http://www.nps.edu and http://www.MovesInstitute.org)
83 // nor the names of its contributors may be used to endorse or
84 // promote products derived from this software without specific
85 // prior written permission.
86 //
87 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
88 // AS IS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
89 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
90 // FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
91 // COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
92 // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
93 // BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
94 // LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
95 // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
96 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
97 // ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
98 // POSSIBILITY OF SUCH DAMAGE.
Symbolic names as defined in 5.1.4.
Definition: AcknowledgePdu.h:8
unsigned short _activeEmissionParameterIndex
Which database record shall be used.
Definition: UAFundamentalParameter.h:19
float _beamwidthDownElevation
vertical beamwidth of the main beam.
Definition: UAFundamentalParameter.h:34
unsigned short _scanPattern
The type of scan pattern, If not used, zero.
Definition: UAFundamentalParameter.h:22
a class to support managing a network buffer.
Definition: DataStream.h:28
float _azimuthalBeamwidthHorizontal
Horizontal beamwidth of th emain beam Meastued at the 3dB down point of peak radiated power...
Definition: UAFundamentalParameter.h:28
float _beamCenterAzimuthHorizontal
center azimuth bearing of th emain beam.
Definition: UAFundamentalParameter.h:25
Definition: UAFundamentalParameter.h:15
float _beamCenterDepressionElevation
center of the d/e angle of th emain beam relative to the stablised de angle of the target...
Definition: UAFundamentalParameter.h:31