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 UAActiveEmissionParameterIndexactiveEmissionParameterIndexWhich database record shall be used uid 146protected floatazimuthalBeamwidthHorizontalHorizontal beamwidth of th emain beam Meastued at the 3dB down point of peak radiated power.protected floatbeamCenterAzimuthHorizontalcenter azimuth bearing of th emain beam.protected floatbeamCenterDepressionElevationcenter of the d/e angle of th emain beam relative to the stablised de angle of the target.protected floatdepressionElevationBeamWidthvertical beamwidth of the main beam.protected UAScanPatternscanPatternThe type of scan pattern, If not used, zero uid 147 -
Constructor Summary
Constructors Constructor Description UAFundamentalParameter()Constructor -
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object obj)booleanequalsImpl(java.lang.Object obj)Compare all fields that contribute to the state, ignoring transient and static fields, forthisand the supplied objectUAActiveEmissionParameterIndexgetActiveEmissionParameterIndex()Getter foractiveEmissionParameterIndexfloatgetAzimuthalBeamwidthHorizontal()Getter forazimuthalBeamwidthHorizontalfloatgetBeamCenterAzimuthHorizontal()Getter forbeamCenterAzimuthHorizontalfloatgetBeamCenterDepressionElevation()Getter forbeamCenterDepressionElevationfloatgetDepressionElevationBeamWidth()Getter fordepressionElevationBeamWidthintgetMarshalledSize()Returns the size of this serialized object in bytesUAScanPatterngetScanPattern()Getter forscanPatternvoidmarshal(java.io.DataOutputStream dos)Serializes an object to a DataOutputStream.voidmarshal(java.nio.ByteBuffer buff)Packs an object into the ByteBuffer.UAFundamentalParametersetActiveEmissionParameterIndex(UAActiveEmissionParameterIndex pActiveEmissionParameterIndex)Setter foractiveEmissionParameterIndexUAFundamentalParametersetAzimuthalBeamwidthHorizontal(float pAzimuthalBeamwidthHorizontal)Setter forazimuthalBeamwidthHorizontalUAFundamentalParametersetBeamCenterAzimuthHorizontal(float pBeamCenterAzimuthHorizontal)Setter forbeamCenterAzimuthHorizontalUAFundamentalParametersetBeamCenterDepressionElevation(float pBeamCenterDepressionElevation)Setter forbeamCenterDepressionElevationUAFundamentalParametersetDepressionElevationBeamWidth(float pDepressionElevationBeamWidth)Setter fordepressionElevationBeamWidthUAFundamentalParametersetScanPattern(UAScanPattern pScanPattern)Setter forscanPatternjava.lang.StringtoString()intunmarshal(java.io.DataInputStream dis)Unserializes an object from a DataInputStream.intunmarshal(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:
equalsin classjava.lang.Object
-
equalsImpl
public boolean equalsImpl(java.lang.Object obj)Compare all fields that contribute to the state, ignoring transient and static fields, forthisand 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:
toStringin classjava.lang.Object
-