Class DEFireFlags

java.lang.Object
java.util.BitSet
edu.nps.moves.dis7.pdus.DisBitSet
edu.nps.moves.dis7.enumerations.DEFireFlags
All Implemented Interfaces:
Marshaller, Serializable, Cloneable

public class DEFireFlags extends DisBitSet
Generated from XML, UID 313, marshal size 16, DEFireFlags
See Also:
  • Field Details

    • WEAPONON

      public static DEFireFlags.Bits WEAPONON
      (bit position 0, boolean) Identifies the State of the DE Weapon
    • STATEUPDATEFLAG

      public static DEFireFlags.Bits STATEUPDATEFLAG
      (bit position 1, boolean) Identifies a DE Weapon State Change, use DEFireFlagsStateUpdateFlag values for this field
  • Constructor Details

    • DEFireFlags

      public DEFireFlags()
      Default constructor
    • DEFireFlags

      public DEFireFlags(DEFireFlags.Bits wh, int value)
      Default constructor with parameters
      Parameters:
      wh - Bits custom data structure
      value - bits of interest
  • Method Details

    • set

      public DEFireFlags set(DEFireFlags.Bits wh, int value)
      Accessor method to set value
      Parameters:
      wh - Bits custom data structure
      value - bits of interest
      Returns:
      this object
    • set

      public DEFireFlags set(int start, int length, int value)
      Some bitfields are defined without specific bits enumerated
      Parameters:
      start - initial position in bit array
      length - number of bits
      value - bits of interest
      Returns:
      this object
    • toString

      public String toString()
      Provide string representation
      Overrides:
      toString in class BitSet
      Returns:
      string representation