|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.roboticsAPI.motionModel.AbstractMotionContainer
com.kuka.roboticsAPI.controllerModel.sunrise.SunriseMotionContainer
public class SunriseMotionContainer
Represents the state of a motion execution.
Not thread-safe for callers (and not intended to be). That means, this container should only be used by one thread.
| Method Summary | |
|---|---|
protected SunriseMotionExecutionContainer |
createExecutionContainerInternal(IMotion motion,
boolean isSynchronous)
Inheriting classes should create the specific execution container here. |
protected void |
executeAppendedMotion(ICommandContainer container)
Implementing classes should send the appended motion container to execution. |
SunriseExecutionContainer |
getFirstCommandContainer()
Debugging/test helper method: Returns the execution container for the first motion. |
protected void |
onContainerFinishedInternal(ICommandContainer cont,
CountDownLatch handlerFinished)
Called when the specified motion container is finished. |
protected void |
silentCancel()
Cancels the container and ignores errors. |
| Methods inherited from class com.kuka.roboticsAPI.motionModel.AbstractMotionContainer |
|---|
addContainerListener, addTriggerConditionObserver, append, await, await, cancel, cleanTriggerObservers, getBatch, getBatchParams, getCommand, getCommandContainers, getCurrentMotion, getErrorMessage, getEventWorker, getFiredBreakConditionInfo, getLastExecutedMotion, getRuntimeData, getState, hasError, hasFired, isFinished, isSynchron, onStateChanged, removeContainerListener, toString, validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
protected SunriseMotionExecutionContainer createExecutionContainerInternal(IMotion motion,
boolean isSynchronous)
AbstractMotionContainer
createExecutionContainerInternal in class AbstractMotionContainermotion - motion for which container should be created.isSynchronous - true if container should be executed
synchronously.
protected void executeAppendedMotion(ICommandContainer container)
AbstractMotionContainer
executeAppendedMotion in class AbstractMotionContainercontainer - appended container to execute
protected void onContainerFinishedInternal(ICommandContainer cont,
CountDownLatch handlerFinished)
AbstractMotionContainerUsed by inheriting classes to report that container is finished to its executor.
onContainerFinishedInternal in class AbstractMotionContainercont - finished container.handlerFinished - latch that will be count down when executer is finished with
the container.public SunriseExecutionContainer getFirstCommandContainer()
AbstractMotionContainer
getFirstCommandContainer in class AbstractMotionContainerprotected void silentCancel()
AbstractMotionContainer
silentCancel in class AbstractMotionContainer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||