|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.nps.moves.dis7mobile.PduSuperclass
edu.nps.moves.dis7mobile.Pdu
edu.nps.moves.dis7mobile.WarfareFamilyPdu
edu.nps.moves.dis7mobile.DirectedEnergyFirePdu
public class DirectedEnergyFirePdu
Firing of a directed energy weapon shall be communicated by issuing a Directed Energy Fire PDU Section 7.3.4 COMPLETE Copyright (c) 2008-2010, MOVES Institute, Naval Postgraduate School. All rights reserved. This work is licensed under the BSD open source license, available at https://www.movesinstitute.org/licenses/bsd.html
Field Summary | |
---|---|
protected float |
apertureDiameter
Field shall identify the beam diameter at the aperture/emitter, Section 7.3.4 |
protected Vector3Float |
ApertureEmitterLocation
Field shall identify the location of the DE weapon aperture/emitter, Section 7.3.4 |
protected float |
commulativeShotTime
Field shall indicate the current cumulative duration of the shot, Section 7.3.4 |
protected java.util.List<StandardVariableSpecification> |
dERecords
Fields shall contain one or more DE records, records shall conform to the variable record format (Section6.2.82), Section 7.3.4 |
protected int |
flags
16bit Boolean field shall contain various flags to indicate status information needed to process a DE, Section 7.3.4 |
protected EntityType |
munitionType
Field shall identify the munition type enumeration for the DE weapon beam, Section 7.3.4 |
protected int |
numberOfDERecords
Field shall specify the number of DE records, Section 7.3.4 |
protected short |
padding1
padding, Section 7.3.4 |
protected long |
padding2
padding, Section 7.3.4 |
protected int |
padding3
padding, Section 7.3.4 |
protected float |
peakIrradiance
Field shall identify the current peak irradiance of emissions in units of Watts per square meter, Section 7.3.4 |
protected float |
pulseRepetitionFrequency
field shall identify the current pulse repetition frequency in units of cycles per second (Hertz), Section 7.3.4 |
protected byte |
pulseShape
Field shall identify the pulse shape and shall be represented as an 8-bit enumeration, Section 7.3.4 |
protected int |
pulseWidth
field shall identify the pulse width emissions in units of seconds, Section 7.3.4 |
protected ClockTime |
shotStartTime
Field shall indicate the simulation time at start of the shot, Section 7.3.4 |
protected float |
wavelength
Field shall identify the emissions wavelength in units of meters, Section 7.3.4 |
Fields inherited from class edu.nps.moves.dis7mobile.WarfareFamilyPdu |
---|
firingEntityID, targetEntityID |
Fields inherited from class edu.nps.moves.dis7mobile.Pdu |
---|
padding, pduStatus |
Fields inherited from class edu.nps.moves.dis7mobile.PduSuperclass |
---|
exerciseID, length, pduType, protocolFamily, protocolVersion, timestamp |
Constructor Summary | |
---|---|
DirectedEnergyFirePdu()
Constructor |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
boolean |
equalsImpl(java.lang.Object obj)
Compare all fields that contribute to the state, ignoring transient and static fields, for this and the supplied object |
float |
getApertureDiameter()
|
Vector3Float |
getApertureEmitterLocation()
|
float |
getCommulativeShotTime()
|
java.util.List<StandardVariableSpecification> |
getDERecords()
|
int |
getFlags()
|
int |
getMarshalledSize()
|
EntityType |
getMunitionType()
|
int |
getNumberOfDERecords()
|
short |
getPadding1()
|
long |
getPadding2()
|
int |
getPadding3()
|
float |
getPeakIrradiance()
|
float |
getPulseRepetitionFrequency()
|
byte |
getPulseShape()
|
int |
getPulseWidth()
|
ClockTime |
getShotStartTime()
|
float |
getWavelength()
|
void |
marshal(java.nio.ByteBuffer buff)
Packs a Pdu into the ByteBuffer. |
void |
marshal(java.io.DataOutputStream dos)
|
void |
setApertureDiameter(float pApertureDiameter)
|
void |
setApertureEmitterLocation(Vector3Float pApertureEmitterLocation)
|
void |
setCommulativeShotTime(float pCommulativeShotTime)
|
void |
setDERecords(java.util.List<StandardVariableSpecification> pDERecords)
|
void |
setFlags(int pFlags)
|
void |
setMunitionType(EntityType pMunitionType)
|
void |
setNumberOfDERecords(int pNumberOfDERecords)
Note that setting this value will not change the marshalled value. |
void |
setPadding1(short pPadding1)
|
void |
setPadding2(long pPadding2)
|
void |
setPadding3(int pPadding3)
|
void |
setPeakIrradiance(float pPeakIrradiance)
|
void |
setPulseRepetitionFrequency(float pPulseRepetitionFrequency)
|
void |
setPulseShape(byte pPulseShape)
|
void |
setPulseWidth(int pPulseWidth)
|
void |
setShotStartTime(ClockTime pShotStartTime)
|
void |
setWavelength(float pWavelength)
|
void |
unmarshal(java.nio.ByteBuffer buff)
Unpacks a Pdu from the underlying data. |
void |
unmarshal(java.io.DataInputStream dis)
|
Methods inherited from class edu.nps.moves.dis7mobile.WarfareFamilyPdu |
---|
getFiringEntityID, getTargetEntityID, setFiringEntityID, setTargetEntityID |
Methods inherited from class edu.nps.moves.dis7mobile.Pdu |
---|
getPadding, getPduStatus, marshal, setPadding, setPduStatus |
Methods inherited from class edu.nps.moves.dis7mobile.PduSuperclass |
---|
getExerciseID, getLength, getPduType, getProtocolFamily, getProtocolVersion, getTimestamp, setExerciseID, setLength, setPduType, setProtocolFamily, setProtocolVersion, setTimestamp |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected EntityType munitionType
protected ClockTime shotStartTime
protected float commulativeShotTime
protected Vector3Float ApertureEmitterLocation
protected float apertureDiameter
protected float wavelength
protected float peakIrradiance
protected float pulseRepetitionFrequency
protected int pulseWidth
protected int flags
protected byte pulseShape
protected short padding1
protected long padding2
protected int padding3
protected int numberOfDERecords
protected java.util.List<StandardVariableSpecification> dERecords
Constructor Detail |
---|
public DirectedEnergyFirePdu()
Method Detail |
---|
public int getMarshalledSize()
getMarshalledSize
in class WarfareFamilyPdu
public void setMunitionType(EntityType pMunitionType)
public EntityType getMunitionType()
public void setShotStartTime(ClockTime pShotStartTime)
public ClockTime getShotStartTime()
public void setCommulativeShotTime(float pCommulativeShotTime)
public float getCommulativeShotTime()
public void setApertureEmitterLocation(Vector3Float pApertureEmitterLocation)
public Vector3Float getApertureEmitterLocation()
public void setApertureDiameter(float pApertureDiameter)
public float getApertureDiameter()
public void setWavelength(float pWavelength)
public float getWavelength()
public void setPeakIrradiance(float pPeakIrradiance)
public float getPeakIrradiance()
public void setPulseRepetitionFrequency(float pPulseRepetitionFrequency)
public float getPulseRepetitionFrequency()
public void setPulseWidth(int pPulseWidth)
public int getPulseWidth()
public void setFlags(int pFlags)
public int getFlags()
public void setPulseShape(byte pPulseShape)
public byte getPulseShape()
public void setPadding1(short pPadding1)
public short getPadding1()
public void setPadding2(long pPadding2)
public long getPadding2()
public void setPadding3(int pPadding3)
public int getPadding3()
public int getNumberOfDERecords()
public void setNumberOfDERecords(int pNumberOfDERecords)
public void setDERecords(java.util.List<StandardVariableSpecification> pDERecords)
public java.util.List<StandardVariableSpecification> getDERecords()
public void marshal(java.io.DataOutputStream dos)
marshal
in class WarfareFamilyPdu
public void unmarshal(java.io.DataInputStream dis)
unmarshal
in class WarfareFamilyPdu
public void marshal(java.nio.ByteBuffer buff)
marshal
in class WarfareFamilyPdu
buff
- The ByteBuffer at the position to begin writing
java.nio.BufferOverflowException
- if buff is too small
java.nio.ReadOnlyBufferException
- if buff is read onlyByteBuffer
public void unmarshal(java.nio.ByteBuffer buff)
unmarshal
in class WarfareFamilyPdu
buff
- The ByteBuffer at the position to begin reading
java.nio.BufferUnderflowException
- if buff is too smallByteBuffer
public boolean equals(java.lang.Object obj)
equals
in class WarfareFamilyPdu
public boolean equalsImpl(java.lang.Object obj)
PduSuperclass
this
and the supplied object
equalsImpl
in class WarfareFamilyPdu
obj
- the object to compare to
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |