Class LinearObjectAppearanceExhaustSmoke
java.lang.Object
java.util.BitSet
edu.nps.moves.dis7.pdus.DisBitSet
edu.nps.moves.dis7.enumerations.LinearObjectAppearanceExhaustSmoke
- All Implemented Interfaces:
Marshaller
,Serializable
,Cloneable
Generated from XML,
UID 236, marshal size 16,
LinearObjectAppearanceExhaustsmoke
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Internal class -
Field Summary
FieldsModifier and TypeFieldDescription(bit position 9, length=2) Describes the chemical content of the smoke, useAppearanceObjectSpecificChemicalType
values for this field(bit position 0, length=8) 8-bit unsigned integer indicating the percent opacity of the smoke (0..100)(bit position 8, boolean) Describes whether or not the smoke is attached to the vehicle -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorDefault constructor with parameters -
Method Summary
Modifier and TypeMethodDescriptionset
(int start, int length, int value) Some bitfields are defined without specific bits enumeratedset
(LinearObjectAppearanceExhaustSmoke.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
-
OPACITYPERCENT
(bit position 0, length=8) 8-bit unsigned integer indicating the percent opacity of the smoke (0..100) -
SMOKEISATTACHED
(bit position 8, boolean) Describes whether or not the smoke is attached to the vehicle -
CHEMICALTYPE
(bit position 9, length=2) Describes the chemical content of the smoke, useAppearanceObjectSpecificChemicalType
values for this field
-
-
Constructor Details
-
LinearObjectAppearanceExhaustSmoke
public LinearObjectAppearanceExhaustSmoke()Default constructor -
LinearObjectAppearanceExhaustSmoke
Default constructor with parameters- Parameters:
wh
- Bits custom data structurevalue
- bits of interest
-
-
Method Details
-
set
public LinearObjectAppearanceExhaustSmoke set(LinearObjectAppearanceExhaustSmoke.Bits wh, int value) 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
-