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

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

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

Represents the state of the safety stop.


Enum Constant Summary
NOSTOP
          No safety stop request present (integer 0).
STOP0
          Safety stop request STOP0 or STOP1 present (integer 1).
STOP1
          Safety stop request STOP1 (on-path) present (integer 2).
STOP2
          Safety stop request STOP2 present (integer 3).
 
Method Summary
static SunriseSafetyState.SafetyStopType fromInt(int value)
          Gets the enum instance with a specific integer value.
 int toInt()
          Gets the internal value for the specific item.
static SunriseSafetyState.SafetyStopType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SunriseSafetyState.SafetyStopType[] 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

NOSTOP

public static final SunriseSafetyState.SafetyStopType NOSTOP
No safety stop request present (integer 0).


STOP0

public static final SunriseSafetyState.SafetyStopType STOP0
Safety stop request STOP0 or STOP1 present (integer 1).


STOP1

public static final SunriseSafetyState.SafetyStopType STOP1
Safety stop request STOP1 (on-path) present (integer 2).


STOP2

public static final SunriseSafetyState.SafetyStopType STOP2
Safety stop request STOP2 present (integer 3).

Method Detail

values

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