com.kuka.roboticsAPI.controllerModel.sunrise.state.kmp
Enum IMobilePlatformSafetyState.SafetyState

java.lang.Object
  extended by java.lang.Enum<IMobilePlatformSafetyState.SafetyState>
      extended by com.kuka.roboticsAPI.controllerModel.sunrise.state.kmp.IMobilePlatformSafetyState.SafetyState
All Implemented Interfaces:
Serializable, Comparable<IMobilePlatformSafetyState.SafetyState>
Enclosing interface:
IMobilePlatformSafetyState

public static enum IMobilePlatformSafetyState.SafetyState
extends Enum<IMobilePlatformSafetyState.SafetyState>

The three states of the safety and warning fields.


Enum Constant Summary
SAFE
          Safety state safe.
SAFETYSTOP
          Safety state safe-stop.
WARNING
          Safety state warning.
 
Method Summary
static IMobilePlatformSafetyState.SafetyState fromInt(int value)
          Gets the enum instance with a specific integer value.
 int toInt()
          Gets the internal value for the specific item.
static IMobilePlatformSafetyState.SafetyState valueOf(String name)
          Returns the enum constant of this type with the specified name.
static IMobilePlatformSafetyState.SafetyState[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SAFE

public static final IMobilePlatformSafetyState.SafetyState SAFE
Safety state safe.


WARNING

public static final IMobilePlatformSafetyState.SafetyState WARNING
Safety state warning.


SAFETYSTOP

public static final IMobilePlatformSafetyState.SafetyState SAFETYSTOP
Safety state safe-stop.

Method Detail

values

public static IMobilePlatformSafetyState.SafetyState[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (IMobilePlatformSafetyState.SafetyState c : IMobilePlatformSafetyState.SafetyState.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static IMobilePlatformSafetyState.SafetyState valueOf(String name)
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 name
NullPointerException - if the argument is null

fromInt

public static IMobilePlatformSafetyState.SafetyState fromInt(int value)
Gets the enum instance with a specific integer value.

Parameters:
value - The integer value.
Returns:
The item with the specific internal value.

toInt

public int toInt()
Gets the internal value for the specific item.

Returns:
The internal value for the specific item.


Copyright © 2019. All rights reserved.