Package edu.nps.moves.dis7.enumerations
Enum ActionSequenceType
- All Implemented Interfaces:
Serializable
,Comparable<ActionSequenceType>
,Constable
This
enum
type is generated from XML,
UID 671,
marshal size 16;
ActionSequenceType has 64 enumerations total.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBreathing HardBreathing PantingBreathing SlowBreathing UnspecifiedCrawling ElbowsCrawling Hands And KneesCrawling Hands Dragging FeetCrawling UnspecifiedCrouching BendingCrouching SquattingDefecatingDismounting a LifeformDismounting a VehicleDrinking UnspecifiedEating UnspecifiedFalling Down BackwardFalling Down CrumplingFalling Down Face FirstFalling Down Left SideFalling Down Right SideFalling Down UnspecifiedFiring/Using a Portable Weapon (including knives)Kip UpKneeling All Knees For 4 Legged LifeformKneeling Both/Rear KneesKneeling Left KneeKneeling Right KneeKneeling UnspecifiedMounting a LifeformMounting a VehicleNot SpecifiedOperating a VehicleReloading a Non Portable WeaponReloading a Portable WeaponRiding a LifeformRunning BackwardsRunning DownstairsRunning FullRunning JoggingRunning UnspecifiedRunning UpstairsSleeping UnspecifiedStanding Up UnspecifiedStanding Up Using Only ElbowsStanding Up Using Only HandsStanding Up Using Only KneesThrowing a Portable Weapon ObjectUrinatingUsing Carried EquipmentUsing Other Equipment (Not Operating a Vehicle)Vomiting Bending OverVomiting Hands And KneesVomiting UnspecifiedWalking BackwardsWalking CarefulWalking DownstairsWalking Dragging Injured Left LegWalking Dragging Injured Right LegWalking Dragging Injured Unspecified LegWalking LimpingWalking Tip ToeWalking UnheededWalking UnspecifiedWalking Upstairs -
Method Summary
Modifier and TypeMethodDescriptionProvide enumeration descriptionstatic int
bit width for this enumerationstatic ActionSequenceType
getEnumForValue
(int value) Provide enumeration for a given valueint
Returns size of this serialized (marshalled) object in bytesgetName()
Provide nameint
getValue()
Provide enumeration valuevoid
marshal
(DataOutputStream dos) Marshal value to DataOutputStreamvoid
marshal
(ByteBuffer byteBuffer) Marshal value to ByteBuffertoString()
Provide simple identifierstatic ActionSequenceType
Unmarshal value to DataInputStreamstatic ActionSequenceType
unmarshalEnum
(ByteBuffer byteBuffer) Unmarshal enumeration value to ByteBufferstatic ActionSequenceType
Returns the enum constant of this type with the specified name.static ActionSequenceType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NOT_SPECIFIED
Not Specified -
STANDING_UP_UNSPECIFIED
Standing Up Unspecified -
STANDING_UP_USING_ONLY_HANDS
Standing Up Using Only Hands -
STANDING_UP_USING_ONLY_KNEES
Standing Up Using Only Knees -
STANDING_UP_USING_ONLY_ELBOWS
Standing Up Using Only Elbows -
KIP_UP
Kip Up -
FALLING_DOWN_UNSPECIFIED
Falling Down Unspecified -
FALLING_DOWN_FACE_FIRST
Falling Down Face First -
FALLING_DOWN_BACKWARD
Falling Down Backward -
FALLING_DOWN_LEFT_SIDE
Falling Down Left Side -
FALLING_DOWN_RIGHT_SIDE
Falling Down Right Side -
FALLING_DOWN_CRUMPLING
Falling Down Crumpling -
KNEELING_UNSPECIFIED
Kneeling Unspecified -
KNEELING_BOTH_REAR_KNEES
Kneeling Both/Rear Knees -
KNEELING_RIGHT_KNEE
Kneeling Right Knee -
KNEELING_LEFT_KNEE
Kneeling Left Knee -
KNEELING_ALL_KNEES_FOR_4_LEGGED_LIFEFORM
Kneeling All Knees For 4 Legged Lifeform -
CROUCHING_BENDING
Crouching Bending -
CROUCHING_SQUATTING
Crouching Squatting -
WALKING_UNSPECIFIED
Walking Unspecified -
WALKING_UNHEEDED
Walking Unheeded -
WALKING_CAREFUL
Walking Careful -
WALKING_TIP_TOE
Walking Tip Toe -
WALKING_BACKWARDS
Walking Backwards -
WALKING_UPSTAIRS
Walking Upstairs -
WALKING_DOWNSTAIRS
Walking Downstairs -
WALKING_LIMPING
Walking Limping -
WALKING_DRAGGING_INJURED_UNSPECIFIED_LEG
Walking Dragging Injured Unspecified Leg -
WALKING_DRAGGING_INJURED_RIGHT_LEG
Walking Dragging Injured Right Leg -
WALKING_DRAGGING_INJURED_LEFT_LEG
Walking Dragging Injured Left Leg -
RUNNING_UNSPECIFIED
Running Unspecified -
RUNNING_FULL
Running Full -
RUNNING_JOGGING
Running Jogging -
RUNNING_BACKWARDS
Running Backwards -
RUNNING_UPSTAIRS
Running Upstairs -
RUNNING_DOWNSTAIRS
Running Downstairs -
CRAWLING_UNSPECIFIED
Crawling Unspecified -
CRAWLING_HANDS_AND_KNEES
Crawling Hands And Knees -
CRAWLING_ELBOWS
Crawling Elbows -
CRAWLING_HANDS_DRAGGING_FEET
Crawling Hands Dragging Feet -
VOMITING_UNSPECIFIED
Vomiting Unspecified -
VOMITING_HANDS_AND_KNEES
Vomiting Hands And Knees -
VOMITING_BENDING_OVER
Vomiting Bending Over -
EATING_UNSPECIFIED
Eating Unspecified -
DRINKING_UNSPECIFIED
Drinking Unspecified -
SLEEPING_UNSPECIFIED
Sleeping Unspecified -
BREATHING_UNSPECIFIED
Breathing Unspecified -
BREATHING_HARD
Breathing Hard -
BREATHING_SLOW
Breathing Slow -
BREATHING_PANTING
Breathing Panting -
URINATING
Urinating -
DEFECATING
Defecating -
MOUNTING_A_VEHICLE
Mounting a Vehicle -
DISMOUNTING_A_VEHICLE
Dismounting a Vehicle -
FIRING_USING_A_PORTABLE_WEAPON_INCLUDING_KNIVES
Firing/Using a Portable Weapon (including knives) -
THROWING_A_PORTABLE_WEAPON_OBJECT
Throwing a Portable Weapon Object -
USING_CARRIED_EQUIPMENT
Using Carried Equipment -
USING_OTHER_EQUIPMENT_NOT_OPERATING_A_VEHICLE
Using Other Equipment (Not Operating a Vehicle) -
OPERATING_A_VEHICLE
Operating a Vehicle -
RIDING_A_LIFEFORM
Riding a Lifeform -
MOUNTING_A_LIFEFORM
Mounting a Lifeform -
DISMOUNTING_A_LIFEFORM
Dismounting a Lifeform -
RELOADING_A_PORTABLE_WEAPON
Reloading a Portable Weapon -
RELOADING_A_NON_PORTABLE_WEAPON
Reloading a Non Portable Weapon
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
public int getValue()Provide enumeration value- Returns:
- integer value
-
getDescription
Provide enumeration description- Returns:
- description
-
getEnumBitWidth
public static int getEnumBitWidth()bit width for this enumeration- Returns:
- number of bits wide
-
getEnumForValue
Provide enumeration for a given value- Parameters:
value
- integer value of interest- Returns:
- enumeration corresponding to numeric value
-
marshal
Marshal value to DataOutputStream- Parameters:
dos
- DataOutputStream for output- Throws:
IOException
- input-output error- See Also:
-
marshal
Marshal value to ByteBuffer- Parameters:
byteBuffer
- ByteBuffer for output- Throws:
IOException
- input-output errorException
- See Also:
-
unmarshalEnum
Unmarshal value to DataInputStream- Parameters:
dis
- DataInputStream for input- Returns:
- enumeration of interest
- Throws:
Exception
- unmarshalling input-output error- See Also:
-
unmarshalEnum
Unmarshal enumeration value to ByteBuffer- Parameters:
byteBuffer
- ByteBuffer for input- Returns:
- enumeration of interest
- Throws:
Exception
- unmarshalling input-output error- See Also:
-
getMarshalledSize
public int getMarshalledSize()Returns size of this serialized (marshalled) object in bytes- Returns:
- serialized size in bytes
- See Also:
-
getName
Provide name- Returns:
- name
-
toString
Provide simple identifier- Overrides:
toString
in classEnum<ActionSequenceType>
- Returns:
- ID number and name
-