Class ExpendableAppearance

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

public class ExpendableAppearance extends DisBitSet
Generated from XML, UID 42, marshal size 32, ExpendableAppearance
See Also:
  • Field Details

    • DAMAGE

      public static ExpendableAppearance.Bits DAMAGE
      (bit position 3, length=2) Describes the damaged appearance, use AppearanceDamage values for this field
    • ISSMOKEEMANATING

      public static ExpendableAppearance.Bits ISSMOKEEMANATING
      (bit position 5, boolean) Describes whether or not smoke is emanating from the entity
    • PARACHUTESTATUS

      public static ExpendableAppearance.Bits PARACHUTESTATUS
      (bit position 7, length=2) Describes the status of a flare's parachute, use Parachute values for this field
    • FLARESMOKECOLOR

      public static ExpendableAppearance.Bits FLARESMOKECOLOR
      (bit position 9, length=3) Describes the color of a flare's light output or the color of smoke emanating from a smoke expendable, use FlareSmokeColor values for this field
    • ISFLAMING

      public static ExpendableAppearance.Bits ISFLAMING
      (bit position 15, boolean) Describes whether the entity is burning and flames are visible
    • LAUNCHFLASHPRESENT

      public static ExpendableAppearance.Bits LAUNCHFLASHPRESENT
      (bit position 16, boolean) Describes whether or not launch flash is present
    • FLARESMOKESTATUS

      public static ExpendableAppearance.Bits FLARESMOKESTATUS
      (bit position 17, length=2) Describes the status of a flare or smoke expendable, use FlareSmokeStatus values for this field
    • ISFROZEN

      public static ExpendableAppearance.Bits ISFROZEN
      (bit position 21, boolean) Describes whether the entity is frozen and should not be dead reckoned
    • POWERPLANTON

      public static ExpendableAppearance.Bits POWERPLANTON
      (bit position 22, boolean) Describes whether the power plant is on or off
    • STATE

      public static ExpendableAppearance.Bits STATE
      (bit position 23, boolean) Describes whether the entity is active or deactivated, use AppearanceEntityorObjectState values for this field
    • SPOTCHAFFSTATUS

      public static ExpendableAppearance.Bits SPOTCHAFFSTATUS
      (bit position 24, length=2) Describes the status of spot chaff, use SpotChaffStatus values for this field
    • MASKEDCLOAKED

      public static ExpendableAppearance.Bits MASKEDCLOAKED
      (bit position 31, boolean) Describes whether or not the entity is masked or cloaked
  • Constructor Details

    • ExpendableAppearance

      public ExpendableAppearance()
      Default constructor
    • ExpendableAppearance

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

    • set

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

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