Package edu.nps.moves.dis7.enumerations
Class ExtendedEquipmentLifeForms
java.lang.Object
java.util.BitSet
edu.nps.moves.dis7.pdus.DisBitSet
edu.nps.moves.dis7.enumerations.ExtendedEquipmentLifeForms
- All Implemented Interfaces:
Marshaller
,Serializable
,Cloneable
Generated from XML,
UID 566, marshal size 16,
ExtendedEquipmentLifeForms
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescription(bit position 0, boolean) Describes whether binoculars are in use or not(bit position 6, length=2) Describes if the life form is using a laser device, useLifeFormLaser
values for this field(bit position 5, boolean) Describes whether NVG goggles are in use or not(bit position 8, boolean) Describes if the life form has a radio(bit position 3, boolean) Describes if the life form has a rebreather(bit position 4, boolean) Describes if the life form has SCUBA gear(bit position 11, boolean) Describes if the life form has a sling load pendant(bit position 9, length=2) Describes whether an IED is present and, if so, how well it is hidden, useAppearanceObjectGeneralIEDPresent
values for this field(bit position 1, length=2) Describes the state of a parachute, useLifeFormParachute
values for this field -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorExtendedEquipmentLifeForms
(ExtendedEquipmentLifeForms.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
(ExtendedEquipmentLifeForms.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
-
HASBINOCULARS
(bit position 0, boolean) Describes whether binoculars are in use or not -
PARACHUTE
(bit position 1, length=2) Describes the state of a parachute, useLifeFormParachute
values for this field -
HASREBREATHER
(bit position 3, boolean) Describes if the life form has a rebreather -
HASSCUBAGEAR
(bit position 4, boolean) Describes if the life form has SCUBA gear -
HASNVG
(bit position 5, boolean) Describes whether NVG goggles are in use or not -
HASLASER
(bit position 6, length=2) Describes if the life form is using a laser device, useLifeFormLaser
values for this field -
HASRADIO
(bit position 8, boolean) Describes if the life form has a radio -
IED
(bit position 9, length=2) Describes whether an IED is present and, if so, how well it is hidden, useAppearanceObjectGeneralIEDPresent
values for this field -
HASSLINGLOADPENDANT
(bit position 11, boolean) Describes if the life form has a sling load pendant
-
-
Constructor Details
-
ExtendedEquipmentLifeForms
public ExtendedEquipmentLifeForms()Default constructor -
ExtendedEquipmentLifeForms
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
Provide string representation
-