3 #include <dis7/EntityType.h> 4 #include <dis7/ClockTime.h> 5 #include <dis7/Vector3Float.h> 6 #include <dis7/StandardVariableSpecification.h> 8 #include <dis7/WarfareFamilyPdu.h> 9 #include <dis7/utils/DataStream.h> 10 #include <dis7/opendis7_export.h> 77 virtual void marshal(
DataStream& dataStream)
const;
78 virtual void unmarshal(
DataStream& dataStream);
85 const ClockTime& getShotStartTime()
const;
86 void setShotStartTime(
const ClockTime &pX);
88 float getCommulativeShotTime()
const;
89 void setCommulativeShotTime(
float pX);
95 float getApertureDiameter()
const;
96 void setApertureDiameter(
float pX);
98 float getWavelength()
const;
99 void setWavelength(
float pX);
101 float getPeakIrradiance()
const;
102 void setPeakIrradiance(
float pX);
104 float getPulseRepetitionFrequency()
const;
105 void setPulseRepetitionFrequency(
float pX);
107 int getPulseWidth()
const;
108 void setPulseWidth(
int pX);
110 int getFlags()
const;
111 void setFlags(
int pX);
113 char getPulseShape()
const;
114 void setPulseShape(
char pX);
116 unsigned char getPadding1()
const;
117 void setPadding1(
unsigned char pX);
119 unsigned int getPadding2()
const;
120 void setPadding2(
unsigned int pX);
122 unsigned short getPadding3()
const;
123 void setPadding3(
unsigned short pX);
125 unsigned short getNumberOfDERecords()
const;
127 std::vector<StandardVariableSpecification>& getDERecords();
128 const std::vector<StandardVariableSpecification>& getDERecords()
const;
129 void setDERecords(
const std::vector<StandardVariableSpecification>& pX);
132 virtual int getMarshalledSize()
const;
Definition: ClockTime.h:15
unsigned int _padding2
padding, Section 7.3.4
Definition: DirectedEnergyFirePdu.h:61
Symbolic names as defined in 5.1.4.
Definition: AcknowledgePdu.h:8
float _commulativeShotTime
Field shall indicate the current cumulative duration of the shot, Section 7.3.4.
Definition: DirectedEnergyFirePdu.h:31
a class to support managing a network buffer.
Definition: DataStream.h:28
float _apertureDiameter
Field shall identify the beam diameter at the aperture/emitter, Section 7.3.4.
Definition: DirectedEnergyFirePdu.h:37
std::vector< StandardVariableSpecification > _dERecords
Fields shall contain one or more DE records, records shall conform to the variable record format (Sec...
Definition: DirectedEnergyFirePdu.h:70
int _flags
16bit Boolean field shall contain various flags to indicate status information needed to process a DE...
Definition: DirectedEnergyFirePdu.h:52
EntityType _munitionType
Field shall identify the munition type enumeration for the DE weapon beam, Section 7...
Definition: DirectedEnergyFirePdu.h:25
unsigned short _numberOfDERecords
Field shall specify the number of DE records, Section 7.3.4.
Definition: DirectedEnergyFirePdu.h:67
unsigned char _padding1
padding, Section 7.3.4
Definition: DirectedEnergyFirePdu.h:58
Definition: DirectedEnergyFirePdu.h:21
Definition: WarfareFamilyPdu.h:18
Definition: Vector3Float.h:15
unsigned short _padding3
padding, Section 7.3.4
Definition: DirectedEnergyFirePdu.h:64
float _peakIrradiance
Field shall identify the current peak irradiance of emissions in units of Watts per square meter...
Definition: DirectedEnergyFirePdu.h:43
Definition: EntityType.h:15
char _pulseShape
Field shall identify the pulse shape and shall be represented as an 8-bit enumeration, Section 7.3.4.
Definition: DirectedEnergyFirePdu.h:55
float _pulseRepetitionFrequency
field shall identify the current pulse repetition frequency in units of cycles per second (Hertz)...
Definition: DirectedEnergyFirePdu.h:46
Vector3Float _ApertureEmitterLocation
Field shall identify the location of the DE weapon aperture/emitter, Section 7.3.4.
Definition: DirectedEnergyFirePdu.h:34
float _wavelength
Field shall identify the emissions wavelength in units of meters, Section 7.3.4.
Definition: DirectedEnergyFirePdu.h:40
int _pulseWidth
field shall identify the pulse width emissions in units of seconds, Section 7.3.4 ...
Definition: DirectedEnergyFirePdu.h:49
ClockTime _shotStartTime
Field shall indicate the simulation time at start of the shot, Section 7.3.4.
Definition: DirectedEnergyFirePdu.h:28