|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<MotionContainerState>
com.kuka.motion.MotionContainerState
public enum MotionContainerState
Represents the state of an IMotionContainer that tracks the execution of an IMotion, commanded by
one of the methods offered by IMovable.
The initial state is CREATED. After that, the states will transition in the following order (note that at
any point prior to a final state, a transition to CANCELED or ERROR might occur):
CREATED
|
v
QUEUED
|
v
EXECUTING
/ | \
v | v
FINISHED | ERROR
v
CANCELED
| Enum Constant Summary | |
|---|---|
CANCELED
The motion execution was aborted due to a user cancel request. |
|
CREATED
The initial state. |
|
ERROR
There was an error while executing the motion. |
|
EXECUTING
The motion is currently executing. |
|
FINISHED
The motion was finished normally. |
|
QUEUED
The motion was sent to the controller and is awaiting execution. |
|
| Method Summary | |
|---|---|
boolean |
isFinal()
|
static MotionContainerState |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static MotionContainerState[] |
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 |
|---|
public static final MotionContainerState CREATED
public static final MotionContainerState QUEUED
public static final MotionContainerState EXECUTING
public static final MotionContainerState FINISHED
public static final MotionContainerState CANCELED
public static final MotionContainerState ERROR
| Method Detail |
|---|
public static MotionContainerState[] values()
for (MotionContainerState c : MotionContainerState.values()) System.out.println(c);
public static MotionContainerState valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic boolean isFinal()
true if and only if the state is final, i.e. the motion container will not transition into
another state.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||