Package edu.nps.moves.dis7.pdus
Class UAFundamentalParameter
java.lang.Object
edu.nps.moves.dis7.pdus.UAFundamentalParameter
- All Implemented Interfaces:
Serializable
Regeneration parameters for active emission systems that are variable throughout a scenario. Section 6.2.91
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected UAActiveEmissionParameterIndexWhich database record shall be used uid 146protected floatHorizontal beamwidth of th emain beam Meastued at the 3dB down point of peak radiated power.protected floatcenter azimuth bearing of th emain beam.protected floatcenter of the d/e angle of th emain beam relative to the stablised de angle of the target.protected floatvertical beamwidth of the main beam.protected UAScanPatternThe type of scan pattern, If not used, zero uid 147 -
Constructor Summary
ConstructorsConstructorDescriptionConstructor creates and configures a new instance object -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanequalsImpl(Object obj) Compare all fields that contribute to the state, ignoring transient and static fields, forthisand the supplied objectGetter foractiveEmissionParameterIndexfloatGetter forazimuthalBeamwidthHorizontalfloatGetter forbeamCenterAzimuthHorizontalfloatGetter forbeamCenterDepressionElevationfloatGetter fordepressionElevationBeamWidthintReturns size of this serialized (marshalled) object in bytesGetter forscanPatterninthashCode()voidmarshal(DataOutputStream dos) Serializes an object to a DataOutputStream.voidmarshal(ByteBuffer byteBuffer) Packs an object into the ByteBuffer.setActiveEmissionParameterIndex(UAActiveEmissionParameterIndex pActiveEmissionParameterIndex) Setter foractiveEmissionParameterIndexsetAzimuthalBeamwidthHorizontal(float pAzimuthalBeamwidthHorizontal) Setter forazimuthalBeamwidthHorizontalsetBeamCenterAzimuthHorizontal(float pBeamCenterAzimuthHorizontal) Setter forbeamCenterAzimuthHorizontalsetBeamCenterDepressionElevation(float pBeamCenterDepressionElevation) Setter forbeamCenterDepressionElevationsetDepressionElevationBeamWidth(float pDepressionElevationBeamWidth) Setter fordepressionElevationBeamWidthsetScanPattern(UAScanPattern pScanPattern) Setter forscanPatterntoString()intunmarshal(DataInputStream dis) Deserializes an object from a DataInputStream.intunmarshal(ByteBuffer byteBuffer) 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 creates and configures a new instance object
-
-
Method Details
-
getMarshalledSize
public int getMarshalledSize()Returns size of this serialized (marshalled) object in bytes- Returns:
- serialized size in bytes
- See Also:
-
setActiveEmissionParameterIndex
public UAFundamentalParameter setActiveEmissionParameterIndex(UAActiveEmissionParameterIndex pActiveEmissionParameterIndex) Setter foractiveEmissionParameterIndex- Parameters:
pActiveEmissionParameterIndex- new value of interest- Returns:
- same object to permit progressive setters
-
getActiveEmissionParameterIndex
Getter foractiveEmissionParameterIndex- Returns:
- value of interest
-
setScanPattern
Setter forscanPattern- Parameters:
pScanPattern- new value of interest- Returns:
- same object to permit progressive setters
-
getScanPattern
-
setBeamCenterAzimuthHorizontal
Setter forbeamCenterAzimuthHorizontal- Parameters:
pBeamCenterAzimuthHorizontal- new value of interest- Returns:
- same object to permit progressive setters
-
getBeamCenterAzimuthHorizontal
public float getBeamCenterAzimuthHorizontal()Getter forbeamCenterAzimuthHorizontal- Returns:
- value of interest
-
setAzimuthalBeamwidthHorizontal
Setter forazimuthalBeamwidthHorizontal- Parameters:
pAzimuthalBeamwidthHorizontal- new value of interest- Returns:
- same object to permit progressive setters
-
getAzimuthalBeamwidthHorizontal
public float getAzimuthalBeamwidthHorizontal()Getter forazimuthalBeamwidthHorizontal- Returns:
- value of interest
-
setBeamCenterDepressionElevation
public UAFundamentalParameter setBeamCenterDepressionElevation(float pBeamCenterDepressionElevation) Setter forbeamCenterDepressionElevation- Parameters:
pBeamCenterDepressionElevation- new value of interest- Returns:
- same object to permit progressive setters
-
getBeamCenterDepressionElevation
public float getBeamCenterDepressionElevation()Getter forbeamCenterDepressionElevation- Returns:
- value of interest
-
setDepressionElevationBeamWidth
Setter fordepressionElevationBeamWidth- Parameters:
pDepressionElevationBeamWidth- new value of interest- Returns:
- same object to permit progressive setters
-
getDepressionElevationBeamWidth
public float getDepressionElevationBeamWidth()Getter fordepressionElevationBeamWidth- Returns:
- value of interest
-
marshal
Serializes an object to a DataOutputStream.- Parameters:
dos- the OutputStream- Throws:
Exception- if something goes wrong- See Also:
-
unmarshal
Deserializes an object from a DataInputStream.- Parameters:
dis- the InputStream- Returns:
- marshalled serialized size in bytes
- Throws:
Exception- if something goes wrong- See Also:
-
marshal
Packs an object into the ByteBuffer.- Parameters:
byteBuffer- The ByteBuffer at the position to begin writing- Throws:
BufferOverflowException- if byteBuffer is too smallReadOnlyBufferException- if byteBuffer is read onlyException- ByteBuffer-generated exception- See Also:
-
unmarshal
Unpacks a Pdu from the underlying data.- Parameters:
byteBuffer- The ByteBuffer at the position to begin reading- Returns:
- marshalled serialized size in bytes
- Throws:
BufferUnderflowException- if byteBuffer is too smallException- ByteBuffer-generated exception- See Also:
-
equals
-
equalsImpl
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
-
hashCode
-