com.kuka.roboticsAPI.controllerModel.sunrise
Enum SunriseSafetyState.EnablingDeviceState

java.lang.Object
  extended by java.lang.Enum<SunriseSafetyState.EnablingDeviceState>
      extended by com.kuka.roboticsAPI.controllerModel.sunrise.SunriseSafetyState.EnablingDeviceState
All Implemented Interfaces:
Serializable, Comparable<SunriseSafetyState.EnablingDeviceState>
Enclosing class:
SunriseSafetyState

public static enum SunriseSafetyState.EnablingDeviceState
extends Enum<SunriseSafetyState.EnablingDeviceState>

The state of the enabling device.


Enum Constant Summary
HANDGUIDING
          Enabling device for handguiding is pressed.
NONE
          Enabling device is not pressed or an AMF (e.g. emergency stop) is active.
NORMAL
          Enabling device is pressed.
 
Method Summary
static SunriseSafetyState.EnablingDeviceState fromInt(int value)
          Gets the enum instance with a specific integer value.
 int toInt()
          Gets the internal value for the specific item.
static SunriseSafetyState.EnablingDeviceState valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SunriseSafetyState.EnablingDeviceState[] 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

NONE

public static final SunriseSafetyState.EnablingDeviceState NONE
Enabling device is not pressed or an AMF (e.g. emergency stop) is active.


NORMAL

public static final SunriseSafetyState.EnablingDeviceState NORMAL
Enabling device is pressed.


HANDGUIDING

public static final SunriseSafetyState.EnablingDeviceState HANDGUIDING
Enabling device for handguiding is pressed.

Method Detail

values

public static SunriseSafetyState.EnablingDeviceState[] 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 (SunriseSafetyState.EnablingDeviceState c : SunriseSafetyState.EnablingDeviceState.values())
    System.out.println(c);

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

valueOf

public static SunriseSafetyState.EnablingDeviceState 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

toInt

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

Returns:
The internal value for the specific item.

fromInt

public static SunriseSafetyState.EnablingDeviceState 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.


Copyright © 2019. All rights reserved.