public class DirectedEnergyFirePdu extends WarfareFamilyPdu implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
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 EventIdentifier |
eventID |
protected EntityID |
firingEntityID
ID of the entity that shot
|
protected DEFireFlags |
flags
16bit Boolean field shall contain various flags to indicate status information needed to process a DE, Section 7.3.4 uid 313
|
protected EntityType |
munitionType
Field shall identify the munition type enumeration for the DE weapon beam, Section 7.3.4
|
protected short |
numberOfDERecords
Field shall specify the number of DE records, Section 7.3.4
|
protected int |
pad1 |
protected byte |
pad2 |
protected int |
pad3 |
protected short |
pad4 |
protected float |
pulseRepititionFrequency |
protected DEFirePulseShape |
pulseShape
Field shall identify the pulse shape and shall be represented as an 8-bit enumeration, Section 7.3.4 uid 312
|
protected float |
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
|
exerciseID, length, pduType, protocolFamily, protocolVersion, timestamp
Constructor and Description |
---|
DirectedEnergyFirePdu()
Constructor
|
getPadding, getPduStatus, setPadding, setPduStatus
getExerciseID, getLength, getPduType, getProtocolFamily, getProtocolVersion, getTimestamp, marshal, setExerciseID, setLength, setPduType, setProtocolFamily, setProtocolVersion, setTimestamp
protected EntityID firingEntityID
protected EventIdentifier eventID
protected EntityType munitionType
protected ClockTime shotStartTime
protected float commulativeShotTime
protected Vector3Float apertureEmitterLocation
protected float apertureDiameter
protected float wavelength
protected int pad1
protected float pulseRepititionFrequency
protected float pulseWidth
protected DEFireFlags flags
protected DEFirePulseShape pulseShape
protected byte pad2
protected int pad3
protected short pad4
protected short numberOfDERecords
protected java.util.List<StandardVariableSpecification> dERecords
public int getMarshalledSize()
getMarshalledSize
in class WarfareFamilyPdu
public DirectedEnergyFirePdu setFiringEntityID(EntityID pFiringEntityID)
firingEntityID
public EntityID getFiringEntityID()
firingEntityID
public DirectedEnergyFirePdu setEventID(EventIdentifier pEventID)
eventID
public EventIdentifier getEventID()
eventID
public DirectedEnergyFirePdu setMunitionType(EntityType pMunitionType)
munitionType
public EntityType getMunitionType()
munitionType
public DirectedEnergyFirePdu setShotStartTime(ClockTime pShotStartTime)
shotStartTime
public ClockTime getShotStartTime()
shotStartTime
public DirectedEnergyFirePdu setCommulativeShotTime(float pCommulativeShotTime)
commulativeShotTime
public float getCommulativeShotTime()
commulativeShotTime
public DirectedEnergyFirePdu setApertureEmitterLocation(Vector3Float pApertureEmitterLocation)
apertureEmitterLocation
public Vector3Float getApertureEmitterLocation()
apertureEmitterLocation
public DirectedEnergyFirePdu setApertureDiameter(float pApertureDiameter)
apertureDiameter
public float getApertureDiameter()
apertureDiameter
public DirectedEnergyFirePdu setWavelength(float pWavelength)
wavelength
public float getWavelength()
wavelength
public DirectedEnergyFirePdu setPad1(int pPad1)
pad1
public int getPad1()
pad1
public DirectedEnergyFirePdu setPulseRepititionFrequency(float pPulseRepititionFrequency)
pulseRepititionFrequency
public float getPulseRepititionFrequency()
pulseRepititionFrequency
public DirectedEnergyFirePdu setPulseWidth(float pPulseWidth)
pulseWidth
public float getPulseWidth()
pulseWidth
public DirectedEnergyFirePdu setFlags(DEFireFlags pFlags)
flags
public DEFireFlags getFlags()
flags
public DirectedEnergyFirePdu setPulseShape(DEFirePulseShape pPulseShape)
pulseShape
public DEFirePulseShape getPulseShape()
pulseShape
public DirectedEnergyFirePdu setPad2(byte pPad2)
pad2
public byte getPad2()
pad2
public DirectedEnergyFirePdu setPad3(int pPad3)
pad3
public int getPad3()
pad3
public DirectedEnergyFirePdu setPad4(short pPad4)
pad4
public short getPad4()
pad4
public DirectedEnergyFirePdu setDERecords(java.util.List<StandardVariableSpecification> pDERecords)
dERecords
public java.util.List<StandardVariableSpecification> getDERecords()
dERecords
public void marshal(java.io.DataOutputStream dos)
marshal
in class WarfareFamilyPdu
dos
- The DataOutputStreamDataOutputStream
public int unmarshal(java.io.DataInputStream dis)
unmarshal
in class WarfareFamilyPdu
dis
- The DataInputStreamDataInputStream
public void marshal(java.nio.ByteBuffer buff) throws java.lang.Exception
marshal
in class WarfareFamilyPdu
buff
- The ByteBuffer at the position to begin writingjava.nio.BufferOverflowException
- if buff is too smalljava.nio.ReadOnlyBufferException
- if buff is read onlyjava.lang.Exception
- ByteBuffer-generated exceptionByteBuffer
public int unmarshal(java.nio.ByteBuffer buff) throws java.lang.Exception
unmarshal
in class WarfareFamilyPdu
buff
- The ByteBuffer at the position to begin readingjava.nio.BufferUnderflowException
- if buff is too smalljava.lang.Exception
- ByteBuffer-generated exceptionByteBuffer
public boolean equals(java.lang.Object obj)
equals
in class WarfareFamilyPdu
public boolean equalsImpl(java.lang.Object obj)
Pdu
this
and the supplied objectequalsImpl
in class WarfareFamilyPdu
obj
- the object to compare to