Class FundamentalOperationalData

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

public class FundamentalOperationalData extends Object implements Serializable
Basic operational data for IFF. Section 6.2.40. Copyright (c) 2008-2016, MOVES Institute, Naval Postgraduate School. All rights reserved. This work is licensed under the BSD open source license, available at https://www.movesinstitute.org/licenses/bsd.html
Author:
DMcG
See Also:
  • Field Details

    • systemStatus

      protected short systemStatus
      system status
    • dataField1

      protected short dataField1
      data field 1
    • informationLayers

      protected short informationLayers
      eight boolean fields
    • dataField2

      protected short dataField2
      enumeration
    • parameter1

      protected int parameter1
      parameter, enumeration
    • parameter2

      protected int parameter2
      parameter, enumeration
    • parameter3

      protected int parameter3
      parameter, enumeration
    • parameter4

      protected int parameter4
      parameter, enumeration
    • parameter5

      protected int parameter5
      parameter, enumeration
    • parameter6

      protected int parameter6
      parameter, enumeration
  • Constructor Details

    • FundamentalOperationalData

      public FundamentalOperationalData()
      Constructor
  • Method Details

    • getMarshalledSize

      public int getMarshalledSize()
    • setSystemStatus

      public void setSystemStatus(short pSystemStatus)
    • getSystemStatus

      public short getSystemStatus()
    • setDataField1

      public void setDataField1(short pDataField1)
    • getDataField1

      public short getDataField1()
    • setInformationLayers

      public void setInformationLayers(short pInformationLayers)
    • getInformationLayers

      public short getInformationLayers()
    • setDataField2

      public void setDataField2(short pDataField2)
    • getDataField2

      public short getDataField2()
    • setParameter1

      public void setParameter1(int pParameter1)
    • getParameter1

      public int getParameter1()
    • setParameter2

      public void setParameter2(int pParameter2)
    • getParameter2

      public int getParameter2()
    • setParameter3

      public void setParameter3(int pParameter3)
    • getParameter3

      public int getParameter3()
    • setParameter4

      public void setParameter4(int pParameter4)
    • getParameter4

      public int getParameter4()
    • setParameter5

      public void setParameter5(int pParameter5)
    • getParameter5

      public int getParameter5()
    • setParameter6

      public void setParameter6(int pParameter6)
    • getParameter6

      public int getParameter6()
    • marshal

      public void marshal(DataOutputStream dos)
    • unmarshal

      public void unmarshal(DataInputStream dis)
    • marshal

      public void marshal(ByteBuffer buff)
      Packs a Pdu into the ByteBuffer.
      Parameters:
      buff - The ByteBuffer at the position to begin writing
      Throws:
      BufferOverflowException - if buff is too small
      ReadOnlyBufferException - if buff is read only
      Since:
      ??
      See Also:
    • unmarshal

      public void unmarshal(ByteBuffer buff)
      Unpacks a Pdu from the underlying data.
      Parameters:
      buff - The ByteBuffer at the position to begin reading
      Throws:
      BufferUnderflowException - if buff is too small
      Since:
      ??
      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.