Class NonHumanLifeFormsAppearance
java.lang.Object
java.util.BitSet
edu.nps.moves.dis7.pdus.DisBitSet
edu.nps.moves.dis7.enumerations.NonHumanLifeFormsAppearance
- All Implemented Interfaces:
Marshaller
,Serializable
,Cloneable
Generated from XML,
UID 480, marshal size 32,
NonHumanLifeFormsAppearance
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescription(bit position 3, length=2) Describes the visual appearance of the severity of any injury, useAppearanceLifeformHealth
values for this field(bit position 21, boolean) Describes whether the entity is frozen and should not be dead reckoned(bit position 22, boolean) Describes whether or not the life form is mounted/hoisted on another platform, such as a troop transport or helicopter hoist(bit position 23, boolean) Describes whether the entity is active or deactivated, useAppearanceEntityorObjectState
values for this field -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorNonHumanLifeFormsAppearance
(NonHumanLifeFormsAppearance.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
(NonHumanLifeFormsAppearance.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
-
HEALTH
(bit position 3, length=2) Describes the visual appearance of the severity of any injury, useAppearanceLifeformHealth
values for this field -
ISFROZEN
(bit position 21, boolean) Describes whether the entity is frozen and should not be dead reckoned -
MOUNTEDHOISTEDSTATUS
(bit position 22, boolean) Describes whether or not the life form is mounted/hoisted on another platform, such as a troop transport or helicopter hoist -
STATE
(bit position 23, boolean) Describes whether the entity is active or deactivated, useAppearanceEntityorObjectState
values for this field
-
-
Constructor Details
-
NonHumanLifeFormsAppearance
public NonHumanLifeFormsAppearance()Default constructor -
NonHumanLifeFormsAppearance
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
-