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
Generated from XML,
UID 42, marshal size 32,
ExpendableAppearance
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic ExpendableAppearance.Bits
(bit position 3, length=2) Describes the damaged appearance, useAppearanceDamage
values for this fieldstatic ExpendableAppearance.Bits
(bit position 9, length=3) Describes the color of a flare's light output or the color of smoke emanating from a smoke expendable, useFlareSmokeColor
values for this fieldstatic ExpendableAppearance.Bits
(bit position 17, length=2) Describes the status of a flare or smoke expendable, useFlareSmokeStatus
values for this fieldstatic ExpendableAppearance.Bits
(bit position 15, boolean) Describes whether the entity is burning and flames are visiblestatic ExpendableAppearance.Bits
(bit position 21, boolean) Describes whether the entity is frozen and should not be dead reckonedstatic ExpendableAppearance.Bits
(bit position 5, boolean) Describes whether or not smoke is emanating from the entitystatic ExpendableAppearance.Bits
(bit position 16, boolean) Describes whether or not launch flash is presentstatic ExpendableAppearance.Bits
(bit position 31, boolean) Describes whether or not the entity is masked or cloakedstatic ExpendableAppearance.Bits
(bit position 7, length=2) Describes the status of a flare's parachute, useParachute
values for this fieldstatic ExpendableAppearance.Bits
(bit position 22, boolean) Describes whether the power plant is on or offstatic ExpendableAppearance.Bits
(bit position 24, length=2) Describes the status of spot chaff, useSpotChaffStatus
values for this fieldstatic ExpendableAppearance.Bits
(bit position 23, boolean) Describes whether the entity is active or deactivated, useAppearanceEntityorObjectState
values for this field -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorExpendableAppearance
(ExpendableAppearance.Bits wh, int value) Default constructor with parameters -
Method Summary
Modifier and TypeMethodDescriptionset
(int start, int length, int value) Some bitfields are defined without specific bits enumeratedset
(ExpendableAppearance.Bits wh, int value) Accessor method to set valuetoString()
Provide string representationMethods inherited from class edu.nps.moves.dis7.pdus.DisBitSet
calculateMask, calculateMask, getMarshalledSize, marshal, marshal, marshallCommon, setbits, unmarshal, unmarshal
Methods inherited from class java.util.BitSet
and, andNot, cardinality, clear, clear, clear, clone, equals, flip, flip, get, get, hashCode, intersects, isEmpty, length, nextClearBit, nextSetBit, or, previousClearBit, previousSetBit, set, set, set, set, size, stream, toByteArray, toLongArray, valueOf, valueOf, valueOf, valueOf, xor
-
Field Details
-
DAMAGE
(bit position 3, length=2) Describes the damaged appearance, useAppearanceDamage
values for this field -
ISSMOKEEMANATING
(bit position 5, boolean) Describes whether or not smoke is emanating from the entity -
PARACHUTESTATUS
(bit position 7, length=2) Describes the status of a flare's parachute, useParachute
values for this field -
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, useFlareSmokeColor
values for this field -
ISFLAMING
(bit position 15, boolean) Describes whether the entity is burning and flames are visible -
LAUNCHFLASHPRESENT
(bit position 16, boolean) Describes whether or not launch flash is present -
FLARESMOKESTATUS
(bit position 17, length=2) Describes the status of a flare or smoke expendable, useFlareSmokeStatus
values for this field -
ISFROZEN
(bit position 21, boolean) Describes whether the entity is frozen and should not be dead reckoned -
POWERPLANTON
(bit position 22, boolean) Describes whether the power plant is on or off -
STATE
(bit position 23, boolean) Describes whether the entity is active or deactivated, useAppearanceEntityorObjectState
values for this field -
SPOTCHAFFSTATUS
(bit position 24, length=2) Describes the status of spot chaff, useSpotChaffStatus
values for this field -
MASKEDCLOAKED
(bit position 31, boolean) Describes whether or not the entity is masked or cloaked
-
-
Constructor Details
-
ExpendableAppearance
public ExpendableAppearance()Default constructor -
ExpendableAppearance
Default constructor with parameters- Parameters:
wh
- Bits custom data structurevalue
- bits of interest
-
-
Method Details
-
set
Accessor method to set value- Parameters:
wh
- Bits custom data structurevalue
- bits of interest- Returns:
- this object
-
set
Some bitfields are defined without specific bits enumerated- Parameters:
start
- initial position in bit arraylength
- number of bitsvalue
- bits of interest- Returns:
- this object
-
toString
-