Class EnvironmentalCapabilities

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

public class EnvironmentalCapabilities extends DisBitSet implements EntityCapabilities
Generated from XML, UID 457, marshal size 32, EnvironmentalCapabilities
See Also:
  • Field Details

    • RESERVED

      public static EnvironmentalCapabilities.Bits RESERVED
      (bit position 0, length=5) This entry is reserved for backward compatibility and may not be reused
    • IEDPRESENCEINDICATOR

      public static EnvironmentalCapabilities.Bits IEDPRESENCEINDICATOR
      (bit position 7, boolean) The Entity is an IED or contains an IED. The extended appearance record (if available) will identify how well hidden the IED is on the Entity. An Attached Part (if applicable, for instance a jury-rigged munition does not apply here) will identify the IED explicitly.
  • Constructor Details

    • EnvironmentalCapabilities

      public EnvironmentalCapabilities()
      Default constructor
    • EnvironmentalCapabilities

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

    • set

      Accessor method to set value
      Parameters:
      wh - Bits custom data structure
      value - bits of interest
      Returns:
      this object
    • set

      public EnvironmentalCapabilities 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