Package edu.nps.moves.dis7.enumerations
Class ThermalIndicatorsAirLandDomain
java.lang.Object
java.util.BitSet
edu.nps.moves.dis7.pdus.DisBitSet
edu.nps.moves.dis7.enumerations.ThermalIndicatorsAirLandDomain
- All Implemented Interfaces:
Marshaller
,Serializable
,Cloneable
Generated from XML,
UID 551, marshal size 8,
ThermalIndicatorsAirLandDomain
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescription(bit position 1, boolean) Describes whether the auxiliary power plant is hot(bit position 2, boolean) Describes whether the left/front/top drive train is hot.(bit position 3, boolean) Describes whether the right/rear/bottom drive train is hot.(bit position 4, boolean) Describes whether the primary/left gun is hot.(bit position 5, boolean) Describes whether the secondary/right gun is hot.(bit position 0, boolean) Describes whether the main power plant is hot(bit position 6, length=2) Describes the solar heating characteristics of 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
(ThermalIndicatorsAirLandDomain.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
-
ISMAINPOWERPLANTHOT
(bit position 0, boolean) Describes whether the main power plant is hot -
ISAUXILIARYPOWERPLANTHOT
(bit position 1, boolean) Describes whether the auxiliary power plant is hot -
ISDRIVETRAINHOTLEFTFRONTTOP
(bit position 2, boolean) Describes whether the left/front/top drive train is hot. If there is one drive train available, then use this one. Left/front/top is in relation to the other one with respect to facing forward of the vehicle. -
ISDRIVETRAINHOTRIGHTREARBOTTOM
(bit position 3, boolean) Describes whether the right/rear/bottom drive train is hot. If there is one drive train available, this one is not used. Right/rear/bottom is in relation to the other one with respect to facing forward of the vehicle. -
ISGUNHOTPRIMARYLEFT
(bit position 4, boolean) Describes whether the primary/left gun is hot. Left is in relation to the other one with respect to facing forward of the vehicle (when two are available). -
ISGUNHOTSECONDARYRIGHT
(bit position 5, boolean) Describes whether the secondary/right gun is hot. Right is in relation to the other one with respect to facing forward of the vehicle (when two are available). -
SOLARHEATING
(bit position 6, length=2) Describes the solar heating characteristics of the vehicle. This might also include the ambient temperature. A value of 0 is no solar heat while 1-3 indicate an index scalar value where 3 is 'hottest.'
-
-
Constructor Details
-
ThermalIndicatorsAirLandDomain
public ThermalIndicatorsAirLandDomain()Default constructor -
ThermalIndicatorsAirLandDomain
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
-