com.kuka.roboticsAPI.controllerModel.sunrise
Enum SunriseCompoundMode

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

public enum SunriseCompoundMode
extends Enum<SunriseCompoundMode>

Enumeration with the possible Sunrise compound modes.

This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

Enum Constant Summary
KernelMode
          Kernel mode: Enumeration value for a Sunrise compound instance, which is running in kernel mode / kernel space.
UserMode
          User mode: Enumeration value for a Sunrise compound instance, which is running in user mode / user space.
 
Method Summary
 String getModeName()
          Method to get the name of the Sunrise compound mode.
static SunriseCompoundMode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SunriseCompoundMode[] 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

UserMode

public static final SunriseCompoundMode UserMode
User mode: Enumeration value for a Sunrise compound instance, which is running in user mode / user space. In this case, a Sunrise compound instance is using a Realtime Process (RTP).


KernelMode

public static final SunriseCompoundMode KernelMode
Kernel mode: Enumeration value for a Sunrise compound instance, which is running in kernel mode / kernel space.

Method Detail

values

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

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

valueOf

public static SunriseCompoundMode 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

getModeName

public String getModeName()
Method to get the name of the Sunrise compound mode.

Returns:
The name of the Sunrise compound mode.
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.


Copyright © 2019. All rights reserved.