Class SubsurfacePlatformAppearance
java.lang.Object
java.util.BitSet
edu.nps.moves.dis7.pdus.DisBitSet
edu.nps.moves.dis7.enumerations.SubsurfacePlatformAppearance
- All Implemented Interfaces:
Marshaller
,Serializable
,Cloneable
Generated from XML,
UID 34, marshal size 32,
SubsurfacePlatformAppearance
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescription(bit position 19, boolean) Describes whether the communication mast is extended or not(bit position 3, length=2) Describes the damaged appearance, useAppearanceDamage
values for this field(bit position 20, boolean) Describes whether the ESM mast is extended or not(bit position 9, length=3) Describes whether the hatch is open or closed, useAppearanceSubsurfaceHatch
values for this field(bit position 6, boolean) Describes whether or not the engine is emitting smoke(bit position 15, boolean) Describes whether the entity is burning and flames are visible(bit position 21, boolean) Describes whether the entity is frozen and should not be dead reckoned(bit position 5, boolean) Describes whether or not smoke is emanating from the entity(bit position 26, boolean) Describes whether the missile hatches are open or not(bit position 1, boolean) Describes whether it is capable of moving on its own power(bit position 0, boolean) Describes the visual paint design, useAppearancePaintScheme
values for this field(bit position 16, boolean) Describes whether the periscope is extended or not(bit position 22, boolean) Describes whether the power plant is on or off(bit position 18, boolean) Describes whether the radar mast is extended or not(bit position 12, boolean) Describes whether running lights are on or off(bit position 17, boolean) Describes whether the snorkel is extended or not(bit position 23, boolean) Describes whether the entity is active or deactivated, useAppearanceEntityorObjectState
values for this field(bit position 25, boolean) Describes whether the torpedo tubes are open or not(bit position 27, boolean) Describes whether the TAS is deployed or not -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorSubsurfacePlatformAppearance
(SubsurfacePlatformAppearance.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
(SubsurfacePlatformAppearance.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
-
PAINTSCHEME
(bit position 0, boolean) Describes the visual paint design, useAppearancePaintScheme
values for this field -
MOBILITYKILLED
(bit position 1, boolean) Describes whether it is capable of moving on its own power -
DAMAGE
(bit position 3, length=2) Describes the damaged appearance, useAppearanceDamage
values for this field -
ISSMOKEEMANATING
(bit position 5, boolean) Describes whether or not smoke is emanating from the entity -
ISENGINEEMITTINGSMOKE
(bit position 6, boolean) Describes whether or not the engine is emitting smoke -
HATCH
(bit position 9, length=3) Describes whether the hatch is open or closed, useAppearanceSubsurfaceHatch
values for this field -
RUNNINGLIGHTSON
(bit position 12, boolean) Describes whether running lights are on or off -
ISFLAMING
(bit position 15, boolean) Describes whether the entity is burning and flames are visible -
PERISCOPE
(bit position 16, boolean) Describes whether the periscope is extended or not -
SNORKEL
(bit position 17, boolean) Describes whether the snorkel is extended or not -
RADARMAST
(bit position 18, boolean) Describes whether the radar mast is extended or not -
COMMSMAST
(bit position 19, boolean) Describes whether the communication mast is extended or not -
ESMMAST
(bit position 20, boolean) Describes whether the ESM mast is extended or not -
ISFROZEN
(bit position 21, boolean) Describes whether the entity is frozen and should not be dead reckoned -
POWERPLANTON
(bit position 22, boolean) Describes whether the power plant is on or off -
STATE
(bit position 23, boolean) Describes whether the entity is active or deactivated, useAppearanceEntityorObjectState
values for this field -
TORPEDOTUBES
(bit position 25, boolean) Describes whether the torpedo tubes are open or not -
MISSILEHATCHES
(bit position 26, boolean) Describes whether the missile hatches are open or not -
TOWEDARRAYSONAR
(bit position 27, boolean) Describes whether the TAS is deployed or not
-
-
Constructor Details
-
SubsurfacePlatformAppearance
public SubsurfacePlatformAppearance()Default constructor -
SubsurfacePlatformAppearance
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
-