Class BlankingSector
java.lang.Object
edu.nps.moves.dis7.pdus.BlankingSector
- All Implemented Interfaces:
Serializable
The Blanking Sector attribute record may be used to convey persistent areas within a scan volume where emitter power for a specific active emitter beam is reduced to an insignificant value. Section 6.2.21.2
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected byte
indicates the beam for which the blanking sector values are applicable.protected byte
indicates the emitter system for which the blanking sector values are applicableprotected float
This field is provided to indicate the left-most azimuth (clockwise in radians) for which emitted power is reduced.protected float
This field is provided to indicate the lowest elevation (in radians) for which emit- ted power is reduced.protected short
zero-filled array of padding bits for byte alignment and consistent sizing of PDU dataprotected byte
Paddingprotected long
Padding, 32-bitsprotected short
The length of the Blanking Sector attribute record in octets.protected int
record typeprotected float
This field shall specify the residual effective radiated power in the blanking sector in dBm.protected float
Indicate the right-most azimuth (clockwise in radians) for which emitted power is reduced.protected EEAttributeStateIndicator
indicate if blanking sector data have changed since issuance of the last Blanking Sector attribute record for this beam, if the Blanking Sector attribute record beam has ceased uid 300protected float
This field is provided to indicate the highest elevation (in radians) for which emitted power is reduced. -
Constructor Summary
Constructors -
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 objectbyte
Getter forbeamNumber
byte
Getter foremitterNumber
float
Getter forleftAzimuth
float
Getter forlowerElevation
int
Returns size of this serialized (marshalled) object in bytesshort
Getter forpadding
byte
Getter forpadding2
long
Getter forpadding3
short
Getter forrecordLength
int
Getter forrecordType
float
Getter forresidualPower
float
Getter forrightAzimuth
Getter forstateIndicator
float
Getter forupperElevation
int
hashCode()
void
marshal
(DataOutputStream dos) Serializes an object to a DataOutputStream.void
marshal
(ByteBuffer byteBuffer) Packs an object into the ByteBuffer.setBeamNumber
(byte pBeamNumber) Setter forbeamNumber
setBeamNumber
(int pBeamNumber) Utility setter forbeamNumber
setEmitterNumber
(byte pEmitterNumber) Setter foremitterNumber
setEmitterNumber
(int pEmitterNumber) Utility setter foremitterNumber
setLeftAzimuth
(float pLeftAzimuth) Setter forleftAzimuth
setLowerElevation
(float pLowerElevation) Setter forlowerElevation
setPadding
(int pPadding) Utility setter forpadding
setPadding
(short pPadding) Setter forpadding
setPadding2
(byte pPadding2) Setter forpadding2
setPadding2
(int pPadding2) Utility setter forpadding2
setPadding3
(int pPadding3) Utility setter forpadding3
setPadding3
(long pPadding3) Setter forpadding3
setRecordLength
(int pRecordLength) Utility setter forrecordLength
setRecordLength
(short pRecordLength) Setter forrecordLength
setRecordType
(int pRecordType) Setter forrecordType
setResidualPower
(float pResidualPower) Setter forresidualPower
setRightAzimuth
(float pRightAzimuth) Setter forrightAzimuth
setStateIndicator
(EEAttributeStateIndicator pStateIndicator) Setter forstateIndicator
setUpperElevation
(float pUpperElevation) Setter forupperElevation
toString()
int
unmarshal
(DataInputStream dis) Deserializes an object from a DataInputStream.int
unmarshal
(ByteBuffer byteBuffer) Unpacks a Pdu from the underlying data.
-
Field Details
-
recordType
protected int recordTyperecord type -
recordLength
protected short recordLengthThe length of the Blanking Sector attribute record in octets. -
padding
protected short paddingzero-filled array of padding bits for byte alignment and consistent sizing of PDU data -
emitterNumber
protected byte emitterNumberindicates the emitter system for which the blanking sector values are applicable -
beamNumber
protected byte beamNumberindicates the beam for which the blanking sector values are applicable. -
stateIndicator
indicate if blanking sector data have changed since issuance of the last Blanking Sector attribute record for this beam, if the Blanking Sector attribute record beam has ceased uid 300 -
padding2
protected byte padding2Padding -
leftAzimuth
protected float leftAzimuthThis field is provided to indicate the left-most azimuth (clockwise in radians) for which emitted power is reduced. This angle is measured in the X-Y plane of the radar's entity coor- dinate system (see 1.4.3). The range of permissible values is 0 to 2PI, with zero pointing in the X- direction. -
rightAzimuth
protected float rightAzimuthIndicate the right-most azimuth (clockwise in radians) for which emitted power is reduced. This angle is measured in the X-Y plane of the radar's entity coordinate system (see 1.4.3). The range of permissible values is 0 to 2PI , with zero pointing in the X- direction. -
lowerElevation
protected float lowerElevationThis field is provided to indicate the lowest elevation (in radians) for which emit- ted power is reduced. This angle is measured positive upward with respect to the X-Y plane of the radar's entity coordinate system (see 1.4.3). The range of permissible values is -PI/2 to PI/2 -
upperElevation
protected float upperElevationThis field is provided to indicate the highest elevation (in radians) for which emitted power is reduced. This angle is measured positive upward with respect to the X-Y plane of the radar's entitycoordinatesystem(see1.4.3). The range of permissible values is -PI/2 to PI/2 -
residualPower
protected float residualPowerThis field shall specify the residual effective radiated power in the blanking sector in dBm. -
padding3
protected long padding3Padding, 32-bits
-
-
Constructor Details
-
BlankingSector
public BlankingSector()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:
-
setRecordType
Setter forrecordType
- Parameters:
pRecordType
- new value of interest- Returns:
- same object to permit progressive setters
-
getRecordType
-
setRecordLength
Setter forrecordLength
- Parameters:
pRecordLength
- new value of interest- Returns:
- same object to permit progressive setters
-
setRecordLength
Utility setter forrecordLength
- Parameters:
pRecordLength
- new value of interest- Returns:
- same object to permit progressive setters
-
getRecordLength
-
setPadding
Setter forpadding
- Parameters:
pPadding
- new value of interest- Returns:
- same object to permit progressive setters
-
setPadding
Utility setter forpadding
- Parameters:
pPadding
- new value of interest- Returns:
- same object to permit progressive setters
-
getPadding
-
setEmitterNumber
Setter foremitterNumber
- Parameters:
pEmitterNumber
- new value of interest- Returns:
- same object to permit progressive setters
-
setEmitterNumber
Utility setter foremitterNumber
- Parameters:
pEmitterNumber
- new value of interest- Returns:
- same object to permit progressive setters
-
getEmitterNumber
-
setBeamNumber
Setter forbeamNumber
- Parameters:
pBeamNumber
- new value of interest- Returns:
- same object to permit progressive setters
-
setBeamNumber
Utility setter forbeamNumber
- Parameters:
pBeamNumber
- new value of interest- Returns:
- same object to permit progressive setters
-
getBeamNumber
-
setStateIndicator
Setter forstateIndicator
- Parameters:
pStateIndicator
- new value of interest- Returns:
- same object to permit progressive setters
-
getStateIndicator
Getter forstateIndicator
- Returns:
- value of interest
-
setPadding2
Setter forpadding2
- Parameters:
pPadding2
- new value of interest- Returns:
- same object to permit progressive setters
-
setPadding2
Utility setter forpadding2
- Parameters:
pPadding2
- new value of interest- Returns:
- same object to permit progressive setters
-
getPadding2
-
setLeftAzimuth
Setter forleftAzimuth
- Parameters:
pLeftAzimuth
- new value of interest- Returns:
- same object to permit progressive setters
-
getLeftAzimuth
-
setRightAzimuth
Setter forrightAzimuth
- Parameters:
pRightAzimuth
- new value of interest- Returns:
- same object to permit progressive setters
-
getRightAzimuth
-
setLowerElevation
Setter forlowerElevation
- Parameters:
pLowerElevation
- new value of interest- Returns:
- same object to permit progressive setters
-
getLowerElevation
-
setUpperElevation
Setter forupperElevation
- Parameters:
pUpperElevation
- new value of interest- Returns:
- same object to permit progressive setters
-
getUpperElevation
-
setResidualPower
Setter forresidualPower
- Parameters:
pResidualPower
- new value of interest- Returns:
- same object to permit progressive setters
-
getResidualPower
-
setPadding3
Setter forpadding3
- Parameters:
pPadding3
- new value of interest- Returns:
- same object to permit progressive setters
-
setPadding3
Utility setter forpadding3
- Parameters:
pPadding3
- new value of interest- Returns:
- same object to permit progressive setters
-
getPadding3
-
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
-