Package edu.nps.moves.dis7.enumerations
Class ExtendedLightsLandDomain
java.lang.Object
java.util.BitSet
edu.nps.moves.dis7.pdus.DisBitSet
edu.nps.moves.dis7.enumerations.ExtendedLightsLandDomain
- All Implemented Interfaces:
Marshaller
,Serializable
,Cloneable
Generated from XML,
UID 545, marshal size 32,
ExtendedLightsLandDomain
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescription(bit position 9, boolean) Describes whether the auxiliary high beam is on or off(bit position 5, boolean) Describes whether the emergency lights are on or off (if on, they are flashing)(bit position 11, boolean) Describes whether the emergency vehicle lights (if equipped) are on or off (e.g., police vehicle lights)(bit position 6, boolean) Describes whether the fog lights are on or off(bit position 2, boolean) Describes the intensity (brightness) of the head lights, useAppearanceNavigationPositionBrightness
values for this field(bit position 0, boolean) Describes whether the left turn signal is on or off (right/left determined by looking out front)(bit position 7, boolean) Describes whether the parking lights are on or off(bit position 10, boolean) Describes whether the rear interior lights are on or off(bit position 8, boolean) Describes whether the reverse lights are on or off(bit position 1, boolean) Describes whether the right turn signal is on or off (right/left determined by looking out front)(bit position 4, boolean) Describes whether the running lights are on or off(bit position 3, boolean) Describes whether the spot/search light #2 is on or off(bit position 17, boolean) Describes whether the spot/search light #3 is on or off(bit position 18, boolean) Describes whether the spot/search light #4 is on or off -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorExtendedLightsLandDomain
(ExtendedLightsLandDomain.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
(ExtendedLightsLandDomain.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
-
LEFTTURNSIGNALON
(bit position 0, boolean) Describes whether the left turn signal is on or off (right/left determined by looking out front) -
RIGHTTURNSIGNALON
(bit position 1, boolean) Describes whether the right turn signal is on or off (right/left determined by looking out front) -
HEADLIGHTINTENSITY
(bit position 2, boolean) Describes the intensity (brightness) of the head lights, useAppearanceNavigationPositionBrightness
values for this field -
SPOTSEARCH2ON
(bit position 3, boolean) Describes whether the spot/search light #2 is on or off -
RUNNINGLIGHTSON
(bit position 4, boolean) Describes whether the running lights are on or off -
EMERGENCYLIGHTSON
(bit position 5, boolean) Describes whether the emergency lights are on or off (if on, they are flashing) -
FOGLIGHTSON
(bit position 6, boolean) Describes whether the fog lights are on or off -
PARKINGLIGHTSON
(bit position 7, boolean) Describes whether the parking lights are on or off -
REVERSELIGHTSON
(bit position 8, boolean) Describes whether the reverse lights are on or off -
AUXILIARYHIGHBEAMON
(bit position 9, boolean) Describes whether the auxiliary high beam is on or off -
REARINTERIORLIGHTSON
(bit position 10, boolean) Describes whether the rear interior lights are on or off -
EMERGENCYVEHICLELIGHTSON
(bit position 11, boolean) Describes whether the emergency vehicle lights (if equipped) are on or off (e.g., police vehicle lights) -
SPOTSEARCH3ON
(bit position 17, boolean) Describes whether the spot/search light #3 is on or off -
SPOTSEARCH4ON
(bit position 18, boolean) Describes whether the spot/search light #4 is on or off
-
-
Constructor Details
-
ExtendedLightsLandDomain
public ExtendedLightsLandDomain()Default constructor -
ExtendedLightsLandDomain
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
-