com.kuka.roboticsAPI.requestModel
Enum GetTorqueStateRequest.ETorqueState

java.lang.Object
  extended by java.lang.Enum<GetTorqueStateRequest.ETorqueState>
      extended by com.kuka.roboticsAPI.requestModel.GetTorqueStateRequest.ETorqueState
All Implemented Interfaces:
Serializable, Comparable<GetTorqueStateRequest.ETorqueState>
Enclosing class:
GetTorqueStateRequest

public static enum GetTorqueStateRequest.ETorqueState
extends Enum<GetTorqueStateRequest.ETorqueState>

Specifies the different states of a torque sensor.

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
Error
          Torque sensor is not working properly.
OK
          Torque sensor is ready and working.
 
Method Summary
 int getIntValue()
          Returns the Integer value of the torque sensor state.
static GetTorqueStateRequest.ETorqueState getTorqueStateFromInt(int torqueStateAsInt)
          Returns the GetTorqueStateRequest.ETorqueState which is represented by the given Integer value.
static GetTorqueStateRequest.ETorqueState valueOf(String name)
          Returns the enum constant of this type with the specified name.
static GetTorqueStateRequest.ETorqueState[] 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

OK

public static final GetTorqueStateRequest.ETorqueState OK
Torque sensor is ready and working.


Error

public static final GetTorqueStateRequest.ETorqueState Error
Torque sensor is not working properly.

Method Detail

values

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

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

valueOf

public static GetTorqueStateRequest.ETorqueState 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

getIntValue

public int getIntValue()
Returns the Integer value of the torque sensor state.

Returns:
Integer value of the torque sensor state.

getTorqueStateFromInt

public static GetTorqueStateRequest.ETorqueState getTorqueStateFromInt(int torqueStateAsInt)
Returns the GetTorqueStateRequest.ETorqueState which is represented by the given Integer value.

Parameters:
torqueStateAsInt - The Integer for which the GetTorqueStateRequest.ETorqueState representation is wanted.
Returns:
GetTorqueStateRequest.ETorqueState which represents the given Integer value.


Copyright © 2019. All rights reserved.