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 UAActiveEmissionParameterIndex
Which database record shall be used uid 146protected float
Horizontal beamwidth of th emain beam Meastued at the 3dB down point of peak radiated power.protected float
center azimuth bearing of th emain beam.protected float
center of the d/e angle of th emain beam relative to the stablised de angle of the target.protected float
vertical beamwidth of the main beam.protected UAScanPattern
The type of scan pattern, If not used, zero uid 147 -
Constructor Summary
ConstructorsConstructorDescriptionConstructor creates and configures a new instance object -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
equalsImpl
(Object obj) Compare all fields that contribute to the state, ignoring transient and static fields, forthis
and the supplied objectGetter foractiveEmissionParameterIndex
float
Getter forazimuthalBeamwidthHorizontal
float
Getter forbeamCenterAzimuthHorizontal
float
Getter forbeamCenterDepressionElevation
float
Getter fordepressionElevationBeamWidth
int
Returns size of this serialized (marshalled) object in bytesGetter forscanPattern
int
hashCode()
void
marshal
(DataOutputStream dos) Serializes an object to a DataOutputStream.void
marshal
(ByteBuffer byteBuffer) Packs an object into the ByteBuffer.setActiveEmissionParameterIndex
(UAActiveEmissionParameterIndex pActiveEmissionParameterIndex) Setter foractiveEmissionParameterIndex
setAzimuthalBeamwidthHorizontal
(float pAzimuthalBeamwidthHorizontal) Setter forazimuthalBeamwidthHorizontal
setBeamCenterAzimuthHorizontal
(float pBeamCenterAzimuthHorizontal) Setter forbeamCenterAzimuthHorizontal
setBeamCenterDepressionElevation
(float pBeamCenterDepressionElevation) Setter forbeamCenterDepressionElevation
setDepressionElevationBeamWidth
(float pDepressionElevationBeamWidth) Setter fordepressionElevationBeamWidth
setScanPattern
(UAScanPattern pScanPattern) Setter forscanPattern
toString()
int
unmarshal
(DataInputStream dis) Deserializes an object from a DataInputStream.int
unmarshal
(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, forthis
and the supplied object- Parameters:
obj
- the object to compare to- Returns:
- true if the objects are equal, false otherwise.
-
toString
-
hashCode
-