Class BlankingSector

java.lang.Object
edu.nps.moves.dis7.pdus.BlankingSector
All Implemented Interfaces:
Serializable

public class BlankingSector extends Object implements 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 Details

    • recordType

      protected int recordType
      record type
    • recordLength

      protected short recordLength
      The length of the Blanking Sector attribute record in octets.
    • padding

      protected short padding
      zero-filled array of padding bits for byte alignment and consistent sizing of PDU data
    • emitterNumber

      protected byte emitterNumber
      indicates the emitter system for which the blanking sector values are applicable
    • beamNumber

      protected byte beamNumber
      indicates the beam for which the blanking sector values are applicable.
    • stateIndicator

      protected EEAttributeStateIndicator 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 padding2
      Padding
    • leftAzimuth

      protected float leftAzimuth
      This 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 rightAzimuth
      Indicate 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 lowerElevation
      This 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 upperElevation
      This 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 residualPower
      This field shall specify the residual effective radiated power in the blanking sector in dBm.
    • padding3

      protected long padding3
      Padding, 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

      public BlankingSector setRecordType(int pRecordType)
      Setter for recordType
      Parameters:
      pRecordType - new value of interest
      Returns:
      same object to permit progressive setters
    • getRecordType

      public int getRecordType()
      Getter for recordType
      Returns:
      value of interest
    • setRecordLength

      public BlankingSector setRecordLength(short pRecordLength)
      Setter for recordLength
      Parameters:
      pRecordLength - new value of interest
      Returns:
      same object to permit progressive setters
    • setRecordLength

      public BlankingSector setRecordLength(int pRecordLength)
      Utility setter for recordLength
      Parameters:
      pRecordLength - new value of interest
      Returns:
      same object to permit progressive setters
    • getRecordLength

      public short getRecordLength()
      Getter for recordLength
      Returns:
      value of interest
    • setPadding

      public BlankingSector setPadding(short pPadding)
      Setter for padding
      Parameters:
      pPadding - new value of interest
      Returns:
      same object to permit progressive setters
    • setPadding

      public BlankingSector setPadding(int pPadding)
      Utility setter for padding
      Parameters:
      pPadding - new value of interest
      Returns:
      same object to permit progressive setters
    • getPadding

      public short getPadding()
      Getter for padding
      Returns:
      value of interest
    • setEmitterNumber

      public BlankingSector setEmitterNumber(byte pEmitterNumber)
      Setter for emitterNumber
      Parameters:
      pEmitterNumber - new value of interest
      Returns:
      same object to permit progressive setters
    • setEmitterNumber

      public BlankingSector setEmitterNumber(int pEmitterNumber)
      Utility setter for emitterNumber
      Parameters:
      pEmitterNumber - new value of interest
      Returns:
      same object to permit progressive setters
    • getEmitterNumber

      public byte getEmitterNumber()
      Getter for emitterNumber
      Returns:
      value of interest
    • setBeamNumber

      public BlankingSector setBeamNumber(byte pBeamNumber)
      Setter for beamNumber
      Parameters:
      pBeamNumber - new value of interest
      Returns:
      same object to permit progressive setters
    • setBeamNumber

      public BlankingSector setBeamNumber(int pBeamNumber)
      Utility setter for beamNumber
      Parameters:
      pBeamNumber - new value of interest
      Returns:
      same object to permit progressive setters
    • getBeamNumber

      public byte getBeamNumber()
      Getter for beamNumber
      Returns:
      value of interest
    • setStateIndicator

      public BlankingSector setStateIndicator(EEAttributeStateIndicator pStateIndicator)
      Setter for stateIndicator
      Parameters:
      pStateIndicator - new value of interest
      Returns:
      same object to permit progressive setters
    • getStateIndicator

      public EEAttributeStateIndicator getStateIndicator()
      Getter for stateIndicator
      Returns:
      value of interest
    • setPadding2

      public BlankingSector setPadding2(byte pPadding2)
      Setter for padding2
      Parameters:
      pPadding2 - new value of interest
      Returns:
      same object to permit progressive setters
    • setPadding2

      public BlankingSector setPadding2(int pPadding2)
      Utility setter for padding2
      Parameters:
      pPadding2 - new value of interest
      Returns:
      same object to permit progressive setters
    • getPadding2

      public byte getPadding2()
      Getter for padding2
      Returns:
      value of interest
    • setLeftAzimuth

      public BlankingSector setLeftAzimuth(float pLeftAzimuth)
      Setter for leftAzimuth
      Parameters:
      pLeftAzimuth - new value of interest
      Returns:
      same object to permit progressive setters
    • getLeftAzimuth

      public float getLeftAzimuth()
      Getter for leftAzimuth
      Returns:
      value of interest
    • setRightAzimuth

      public BlankingSector setRightAzimuth(float pRightAzimuth)
      Setter for rightAzimuth
      Parameters:
      pRightAzimuth - new value of interest
      Returns:
      same object to permit progressive setters
    • getRightAzimuth

      public float getRightAzimuth()
      Getter for rightAzimuth
      Returns:
      value of interest
    • setLowerElevation

      public BlankingSector setLowerElevation(float pLowerElevation)
      Setter for lowerElevation
      Parameters:
      pLowerElevation - new value of interest
      Returns:
      same object to permit progressive setters
    • getLowerElevation

      public float getLowerElevation()
      Getter for lowerElevation
      Returns:
      value of interest
    • setUpperElevation

      public BlankingSector setUpperElevation(float pUpperElevation)
      Setter for upperElevation
      Parameters:
      pUpperElevation - new value of interest
      Returns:
      same object to permit progressive setters
    • getUpperElevation

      public float getUpperElevation()
      Getter for upperElevation
      Returns:
      value of interest
    • setResidualPower

      public BlankingSector setResidualPower(float pResidualPower)
      Setter for residualPower
      Parameters:
      pResidualPower - new value of interest
      Returns:
      same object to permit progressive setters
    • getResidualPower

      public float getResidualPower()
      Getter for residualPower
      Returns:
      value of interest
    • setPadding3

      public BlankingSector setPadding3(long pPadding3)
      Setter for padding3
      Parameters:
      pPadding3 - new value of interest
      Returns:
      same object to permit progressive setters
    • setPadding3

      public BlankingSector setPadding3(int pPadding3)
      Utility setter for padding3
      Parameters:
      pPadding3 - new value of interest
      Returns:
      same object to permit progressive setters
    • getPadding3

      public long getPadding3()
      Getter for padding3
      Returns:
      value of interest
    • marshal

      public void marshal(DataOutputStream dos) throws Exception
      Serializes an object to a DataOutputStream.
      Parameters:
      dos - the OutputStream
      Throws:
      Exception - if something goes wrong
      See Also:
    • unmarshal

      public int unmarshal(DataInputStream dis) throws Exception
      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

      public void marshal(ByteBuffer byteBuffer) throws Exception
      Packs an object into the ByteBuffer.
      Parameters:
      byteBuffer - The ByteBuffer at the position to begin writing
      Throws:
      BufferOverflowException - if byteBuffer is too small
      ReadOnlyBufferException - if byteBuffer is read only
      Exception - ByteBuffer-generated exception
      See Also:
    • unmarshal

      public int unmarshal(ByteBuffer byteBuffer) throws Exception
      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 small
      Exception - ByteBuffer-generated exception
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsImpl

      public boolean equalsImpl(Object obj)
      Compare all fields that contribute to the state, ignoring transient and static fields, for this and the supplied object
      Parameters:
      obj - the object to compare to
      Returns:
      true if the objects are equal, false otherwise.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object