Package edu.nps.moves.dis7
Class UAFundamentalParameter
java.lang.Object
edu.nps.moves.dis7.UAFundamentalParameter
- All Implemented Interfaces:
java.io.Serializable
public class UAFundamentalParameter
extends java.lang.Object
implements java.io.Serializable
Regeneration parameters for active emission systems that are variable throughout a scenario. Section 6.2.91
IEEE Std 1278.1-2012, IEEE Standard for Distributed Interactive Simulation—Application Protocols
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description protected UAActiveEmissionParameterIndex
activeEmissionParameterIndex
Which database record shall be used uid 146protected float
azimuthalBeamwidthHorizontal
Horizontal beamwidth of th emain beam Meastued at the 3dB down point of peak radiated power.protected float
beamCenterAzimuthHorizontal
center azimuth bearing of th emain beam.protected float
beamCenterDepressionElevation
center of the d/e angle of th emain beam relative to the stablised de angle of the target.protected float
depressionElevationBeamWidth
vertical beamwidth of the main beam.protected UAScanPattern
scanPattern
The type of scan pattern, If not used, zero uid 147 -
Constructor Summary
Constructors Constructor Description UAFundamentalParameter()
Constructor -
Method Summary
Modifier and Type Method Description 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, forthis
and the supplied objectUAActiveEmissionParameterIndex
getActiveEmissionParameterIndex()
Getter foractiveEmissionParameterIndex
float
getAzimuthalBeamwidthHorizontal()
Getter forazimuthalBeamwidthHorizontal
float
getBeamCenterAzimuthHorizontal()
Getter forbeamCenterAzimuthHorizontal
float
getBeamCenterDepressionElevation()
Getter forbeamCenterDepressionElevation
float
getDepressionElevationBeamWidth()
Getter fordepressionElevationBeamWidth
int
getMarshalledSize()
Returns the size of this serialized object in bytesUAScanPattern
getScanPattern()
Getter forscanPattern
void
marshal(java.io.DataOutputStream dos)
Serializes an object to a DataOutputStream.void
marshal(java.nio.ByteBuffer buff)
Packs an object into the ByteBuffer.UAFundamentalParameter
setActiveEmissionParameterIndex(UAActiveEmissionParameterIndex pActiveEmissionParameterIndex)
Setter foractiveEmissionParameterIndex
UAFundamentalParameter
setAzimuthalBeamwidthHorizontal(float pAzimuthalBeamwidthHorizontal)
Setter forazimuthalBeamwidthHorizontal
UAFundamentalParameter
setBeamCenterAzimuthHorizontal(float pBeamCenterAzimuthHorizontal)
Setter forbeamCenterAzimuthHorizontal
UAFundamentalParameter
setBeamCenterDepressionElevation(float pBeamCenterDepressionElevation)
Setter forbeamCenterDepressionElevation
UAFundamentalParameter
setDepressionElevationBeamWidth(float pDepressionElevationBeamWidth)
Setter fordepressionElevationBeamWidth
UAFundamentalParameter
setScanPattern(UAScanPattern pScanPattern)
Setter forscanPattern
java.lang.String
toString()
int
unmarshal(java.io.DataInputStream dis)
Unserializes an object from a DataInputStream.int
unmarshal(java.nio.ByteBuffer buff)
Unpacks a Pdu from the underlying data.
-
Field Details
-
activeEmissionParameterIndex
Which database record shall be used uid 146 -
scanPattern
The type of scan pattern, If not used, zero uid 147 -
beamCenterAzimuthHorizontal
protected float beamCenterAzimuthHorizontalcenter azimuth bearing of th emain beam. In radians. -
azimuthalBeamwidthHorizontal
protected float azimuthalBeamwidthHorizontalHorizontal beamwidth of th emain beam Meastued at the 3dB down point of peak radiated power. In radians. -
beamCenterDepressionElevation
protected float beamCenterDepressionElevationcenter of the d/e angle of th emain beam relative to the stablised de angle of the target. In radians. -
depressionElevationBeamWidth
protected float depressionElevationBeamWidthvertical beamwidth of the main beam. Meastured at the 3dB down point of peak radiated power. In radians.
-
-
Constructor Details
-
UAFundamentalParameter
public UAFundamentalParameter()Constructor
-
-
Method Details
-
getMarshalledSize
public int getMarshalledSize()Returns the size of this serialized object in bytes -
setActiveEmissionParameterIndex
public UAFundamentalParameter setActiveEmissionParameterIndex(UAActiveEmissionParameterIndex pActiveEmissionParameterIndex)Setter foractiveEmissionParameterIndex
-
getActiveEmissionParameterIndex
Getter foractiveEmissionParameterIndex
-
setScanPattern
Setter forscanPattern
-
getScanPattern
Getter forscanPattern
-
setBeamCenterAzimuthHorizontal
Setter forbeamCenterAzimuthHorizontal
-
getBeamCenterAzimuthHorizontal
public float getBeamCenterAzimuthHorizontal()Getter forbeamCenterAzimuthHorizontal
-
setAzimuthalBeamwidthHorizontal
Setter forazimuthalBeamwidthHorizontal
-
getAzimuthalBeamwidthHorizontal
public float getAzimuthalBeamwidthHorizontal()Getter forazimuthalBeamwidthHorizontal
-
setBeamCenterDepressionElevation
public UAFundamentalParameter setBeamCenterDepressionElevation(float pBeamCenterDepressionElevation)Setter forbeamCenterDepressionElevation
-
getBeamCenterDepressionElevation
public float getBeamCenterDepressionElevation()Getter forbeamCenterDepressionElevation
-
setDepressionElevationBeamWidth
Setter fordepressionElevationBeamWidth
-
getDepressionElevationBeamWidth
public float getDepressionElevationBeamWidth()Getter fordepressionElevationBeamWidth
-
marshal
public void marshal(java.io.DataOutputStream dos) throws java.lang.ExceptionSerializes an object to a DataOutputStream.- Parameters:
dos
- the OutputStream- Throws:
java.lang.Exception
- if something goes wrong- See Also:
DataOutputStream
-
unmarshal
public int unmarshal(java.io.DataInputStream dis) throws java.lang.ExceptionUnserializes an object from a DataInputStream.- Parameters:
dis
- the InputStream- Returns:
- unmarshalled size
- Throws:
java.lang.Exception
- if something goes wrong- See Also:
DataInputStream
-
marshal
public void marshal(java.nio.ByteBuffer buff) throws java.lang.ExceptionPacks an object into the ByteBuffer.- Parameters:
buff
- The ByteBuffer at the position to begin writing- Throws:
java.nio.BufferOverflowException
- if buff is too smalljava.nio.ReadOnlyBufferException
- if buff is read onlyjava.lang.Exception
- ByteBuffer-generated exception- See Also:
ByteBuffer
-
unmarshal
public int unmarshal(java.nio.ByteBuffer buff) throws java.lang.ExceptionUnpacks a Pdu from the underlying data.- Parameters:
buff
- The ByteBuffer at the position to begin reading- Returns:
- marshalled size
- Throws:
java.nio.BufferUnderflowException
- if buff is too smalljava.lang.Exception
- ByteBuffer-generated exception- See Also:
ByteBuffer
-
equals
public boolean equals(java.lang.Object obj)- Overrides:
equals
in classjava.lang.Object
-
equalsImpl
public boolean equalsImpl(java.lang.Object obj)Compare all fields that contribute to the state, ignoring transient and static fields, forthis
and the supplied object- Parameters:
obj
- the object to compare to- Returns:
- true if the objects are equal, false otherwise.
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-