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

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

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

Represents the state of the operator safety.


Enum Constant Summary
NOT_CONFIGURED
          The operator safety is not configured (integer 0).
OPERATOR_SAFETY_CLOSED
          The operator safety is closed (door closed, operator is safe, integer 1).
OPERATOR_SAFETY_OPEN
          The operator safety is open (door open, unsafe situation, integer 2).
 
Method Summary
static SunriseSafetyState.OperatorSafety fromInt(int value)
          Gets the enum instance with a specific integer value.
 int toInt()
          Gets the internal value for the specific item.
static SunriseSafetyState.OperatorSafety valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SunriseSafetyState.OperatorSafety[] 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

NOT_CONFIGURED

public static final SunriseSafetyState.OperatorSafety NOT_CONFIGURED
The operator safety is not configured (integer 0).


OPERATOR_SAFETY_CLOSED

public static final SunriseSafetyState.OperatorSafety OPERATOR_SAFETY_CLOSED
The operator safety is closed (door closed, operator is safe, integer 1).


OPERATOR_SAFETY_OPEN

public static final SunriseSafetyState.OperatorSafety OPERATOR_SAFETY_OPEN
The operator safety is open (door open, unsafe situation, integer 2).

Method Detail

values

public static SunriseSafetyState.OperatorSafety[] 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.OperatorSafety c : SunriseSafetyState.OperatorSafety.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.OperatorSafety 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 SunriseSafetyState.OperatorSafety 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.