Class ObjectStateAppearanceGeneral
java.lang.Object
java.util.BitSet
edu.nps.moves.dis7.pdus.DisBitSet
edu.nps.moves.dis7.enumerations.ObjectStateAppearanceGeneral
- All Implemented Interfaces:
Marshaller
,Serializable
,Cloneable
Generated from XML,
UID 229, marshal size 16,
ObjectStateAppearanceGeneral
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescription(bit position 8, length=2) Describes the damaged appearance, useAppearanceObjectGeneralDamage
values for this field(bit position 14, length=2) Describes whether the object has or contains an IED, useAppearanceObjectGeneralIEDPresent
values for this field(bit position 13, boolean) Describes whether the object is burning and flames are visible(bit position 12, boolean) Describes whether or not there is a smoke plume(bit position 0, length=8) 8-bit unsigned integer indicating the percent completion of the object (0..100)(bit position 10, boolean) Describes whether the object was predistributed, useAppearanceObjectGeneralPredistributed
values for this field(bit position 11, boolean) Describes the state of the object, useAppearanceEntityorObjectState
values for this field -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorObjectStateAppearanceGeneral
(ObjectStateAppearanceGeneral.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
(ObjectStateAppearanceGeneral.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
-
PERCENTCOMPLETE
(bit position 0, length=8) 8-bit unsigned integer indicating the percent completion of the object (0..100) -
DAMAGE
(bit position 8, length=2) Describes the damaged appearance, useAppearanceObjectGeneralDamage
values for this field -
PREDISTRIBUTED
(bit position 10, boolean) Describes whether the object was predistributed, useAppearanceObjectGeneralPredistributed
values for this field -
STATE
(bit position 11, boolean) Describes the state of the object, useAppearanceEntityorObjectState
values for this field -
ISSMOKING
(bit position 12, boolean) Describes whether or not there is a smoke plume -
ISFLAMING
(bit position 13, boolean) Describes whether the object is burning and flames are visible -
IEDPRESENT
(bit position 14, length=2) Describes whether the object has or contains an IED, useAppearanceObjectGeneralIEDPresent
values for this field
-
-
Constructor Details
-
ObjectStateAppearanceGeneral
public ObjectStateAppearanceGeneral()Default constructor -
ObjectStateAppearanceGeneral
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
-