Package edu.nps.moves.dis7.enumerations
Class LifeFormsAppearance
java.lang.Object
java.util.BitSet
edu.nps.moves.dis7.pdus.DisBitSet
edu.nps.moves.dis7.enumerations.LifeFormsAppearance
- All Implemented Interfaces:
Marshaller,Serializable,Cloneable
Generated from XML,
UID 37, marshal size 32,
LifeFormsAppearance
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic LifeFormsAppearance.Bits(bit position 28, length=2) Describes the camouflage color, useAppearanceCamouflageTypevalues for this fieldstatic LifeFormsAppearance.Bits(bit position 9, length=2) Describes the general nature of the IR Signature due to clothing or covering., useClothingIRSignaturevalues for this fieldstatic LifeFormsAppearance.Bits(bit position 5, length=4) Describes the manner and degree to which the life form is complying, useAppearanceLifeFormComplianceStatusvalues for this fieldstatic LifeFormsAppearance.Bits(bit position 31, boolean) Describes whether or not the life form uses concealment during movement, useAppearanceConcealedMovementvalues for this fieldstatic LifeFormsAppearance.Bits(bit position 30, boolean) Describes whether or not the life form is in a prepared concealed position, useAppearanceConcealedPositionvalues for this fieldstatic LifeFormsAppearance.Bits(bit position 12, boolean) Describes whether flash lights are on or offstatic LifeFormsAppearance.Bits(bit position 3, length=2) Describes the visual appearance of the severity of any injury, useAppearanceLifeformHealthvalues for this fieldstatic LifeFormsAppearance.Bits(bit position 15, boolean) Describes whether an IR illuminator (flare) is on or offstatic LifeFormsAppearance.Bits(bit position 14, boolean) Describes whether an IR strobe is on or offstatic LifeFormsAppearance.Bits(bit position 21, boolean) Describes whether the entity is frozen and should not be dead reckonedstatic LifeFormsAppearance.Bits(bit position 20, boolean) Describes whether the life form has a lit cigarette or not.static LifeFormsAppearance.Bits(bit position 16, length=4) Describes the posture (position) of the life form, useAppearanceLifeFormPosturevalues for this fieldstatic LifeFormsAppearance.Bits(bit position 22, boolean) Describes whether or not the life form is mounted/hoisted on another platform, such as a troop transport or helicopter hoiststatic LifeFormsAppearance.Bits(bit position 0, boolean) Describes the visual paint design, useAppearancePaintSchemevalues for this fieldstatic LifeFormsAppearance.Bits(bit position 13, boolean) Describes whether a signal mirror is being used or notstatic LifeFormsAppearance.Bits(bit position 11, boolean) Describes whether signal smoke is being used or notstatic LifeFormsAppearance.Bits(bit position 23, boolean) Describes whether the entity is active or deactivated, useAppearanceEntityorObjectStatevalues for this fieldstatic LifeFormsAppearance.Bits(bit position 24, length=2) Describes the position of the life form's primary weapon/implement, useAppearanceLifeFormWeaponImplementvalues for this fieldstatic LifeFormsAppearance.Bits(bit position 26, length=2) Describes the position of the life form's secondary weapon/implement, useAppearanceLifeFormWeaponImplementvalues for this field -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorLifeFormsAppearance(LifeFormsAppearance.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(LifeFormsAppearance.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, unmarshalMethods 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
-
PAINTSCHEME
(bit position 0, boolean) Describes the visual paint design, useAppearancePaintSchemevalues for this field -
HEALTH
(bit position 3, length=2) Describes the visual appearance of the severity of any injury, useAppearanceLifeformHealthvalues for this field -
COMPLIANCESTATUS
(bit position 5, length=4) Describes the manner and degree to which the life form is complying, useAppearanceLifeFormComplianceStatusvalues for this field -
CLOTHINGIRSIGNATURE
(bit position 9, length=2) Describes the general nature of the IR Signature due to clothing or covering., useClothingIRSignaturevalues for this field -
SIGNALSMOKEINUSE
(bit position 11, boolean) Describes whether signal smoke is being used or not -
FLASHLIGHTSON
(bit position 12, boolean) Describes whether flash lights are on or off -
SIGNALMIRRORINUSE
(bit position 13, boolean) Describes whether a signal mirror is being used or not -
IRSTROBEON
(bit position 14, boolean) Describes whether an IR strobe is on or off -
IRILLUMINATORON
(bit position 15, boolean) Describes whether an IR illuminator (flare) is on or off -
LIFEFORMPOSTURE
(bit position 16, length=4) Describes the posture (position) of the life form, useAppearanceLifeFormPosturevalues for this field -
ISSMOKINGCIGARETTE
(bit position 20, boolean) Describes whether the life form has a lit cigarette or not. The primary purpose is for IR signature generation, so it could be a cigar or other item. -
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, useAppearanceEntityorObjectStatevalues for this field -
WEAPONIMPLEMENT1
(bit position 24, length=2) Describes the position of the life form's primary weapon/implement, useAppearanceLifeFormWeaponImplementvalues for this field -
WEAPONIMPLEMENT2
(bit position 26, length=2) Describes the position of the life form's secondary weapon/implement, useAppearanceLifeFormWeaponImplementvalues for this field -
CAMOUFLAGETYPE
(bit position 28, length=2) Describes the camouflage color, useAppearanceCamouflageTypevalues for this field -
CONCEALEDSTATIONARY
(bit position 30, boolean) Describes whether or not the life form is in a prepared concealed position, useAppearanceConcealedPositionvalues for this field -
CONCEALEDMOVEMENT
(bit position 31, boolean) Describes whether or not the life form uses concealment during movement, useAppearanceConcealedMovementvalues for this field
-
-
Constructor Details
-
LifeFormsAppearance
public LifeFormsAppearance()Default constructor -
LifeFormsAppearance
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
-