Class SurfacePlatformCapabilities
java.lang.Object
java.util.BitSet
edu.nps.moves.dis7.pdus.DisBitSet
edu.nps.moves.dis7.enumerations.SurfacePlatformCapabilities
- All Implemented Interfaces:
EntityCapabilities
,Marshaller
,Serializable
,Cloneable
Generated from XML,
UID 452, marshal size 32,
SurfacePlatformCapabilities
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescription(bit position 0, boolean) Describes whether the entity is able to supply some type of ammunition in response to an appropriate service request(bit position 1, boolean) Describes whether the entity is able to supply some type of fuel in response to an appropriate service request(bit position 7, boolean) The Entity is an IED or contains an IED.(bit position 2, boolean) Describes whether the entity is able to provide recovery (e.g., towing) services in response to an appropriate service request(bit position 3, boolean) Describes whether the entity is able to supply certain repair services in response to an appropriate service request(bit position 4, boolean) This entry is reserved for backward compatibility and may not be reused(bit position 6, boolean) The Entity is able to be carried as a sling load payload.(bit position 8, boolean) The Entity (normally a virtual manned module) can be task organized into an existing mixed mode unit (where mixed mode is intended to comprise a combination of computer-generated forces and virtual or even live forces). -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorSurfacePlatformCapabilities
(SurfacePlatformCapabilities.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
(SurfacePlatformCapabilities.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
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface edu.nps.moves.dis7.pdus.Marshaller
getMarshalledSize, marshal, marshal, unmarshal, unmarshal
-
Field Details
-
AMMUNITIONSUPPLY
(bit position 0, boolean) Describes whether the entity is able to supply some type of ammunition in response to an appropriate service request -
FUELSUPPLY
(bit position 1, boolean) Describes whether the entity is able to supply some type of fuel in response to an appropriate service request -
RECOVERY
(bit position 2, boolean) Describes whether the entity is able to provide recovery (e.g., towing) services in response to an appropriate service request -
REPAIR
(bit position 3, boolean) Describes whether the entity is able to supply certain repair services in response to an appropriate service request -
RESERVED
(bit position 4, boolean) This entry is reserved for backward compatibility and may not be reused -
SLINGLOADABLE
(bit position 6, boolean) The Entity is able to be carried as a sling load payload. The extended appearance record (if available) will identify if it is currently sling loaded and entity association and/or entity offset records (if available) will provide additional sling load details (such as carrier). -
IEDPRESENCEINDICATOR
(bit position 7, boolean) The Entity is an IED or contains an IED. The extended appearance record (if available) will identify how well hidden the IED is on the Entity. An Attached Part (if applicable, for instance a jury-rigged munition does not apply here) will identify the IED explicitly. -
TASKORGANIZABLE
(bit position 8, boolean) The Entity (normally a virtual manned module) can be task organized into an existing mixed mode unit (where mixed mode is intended to comprise a combination of computer-generated forces and virtual or even live forces).
-
-
Constructor Details
-
SurfacePlatformCapabilities
public SurfacePlatformCapabilities()Default constructor -
SurfacePlatformCapabilities
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
-