com.kuka.roboticsAPI.motionModel
Class MotionContainerAdapter

java.lang.Object
  extended by com.kuka.roboticsAPI.motionModel.MotionContainerAdapter
All Implemented Interfaces:
com.kuka.common.events.IEventListener, IContainerStateListener, IMotionContainerListener

public class MotionContainerAdapter
extends Object
implements IMotionContainerListener

Default implementation of the IMotionContainerListener interface. Does nothing.


Constructor Summary
MotionContainerAdapter()
           
 
Method Summary
 void containerFinished(IMotionContainer container)
          Invoked when all motions inside the container have been finished.
 void motionFinished(IMotion motion)
          Invoked when the specified motion has finished.
 void motionStarted(IMotion motion)
          Invoked when the execution of the specified motion was started.
 void onStateChanged(IExecutionContainer container, ExecutionState state)
          Called when the state of the container changed it's state.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MotionContainerAdapter

public MotionContainerAdapter()
Method Detail

motionStarted

public void motionStarted(IMotion motion)
Description copied from interface: IMotionContainerListener
Invoked when the execution of the specified motion was started.

Specified by:
motionStarted in interface IMotionContainerListener
Parameters:
motion - started motion.

motionFinished

public void motionFinished(IMotion motion)
Description copied from interface: IMotionContainerListener
Invoked when the specified motion has finished.

Specified by:
motionFinished in interface IMotionContainerListener
Parameters:
motion - the motion that has finished.

containerFinished

public void containerFinished(IMotionContainer container)
Description copied from interface: IMotionContainerListener
Invoked when all motions inside the container have been finished. The container will no longer accept motions.

Specified by:
containerFinished in interface IMotionContainerListener
Parameters:
container - the finished motion container

onStateChanged

public void onStateChanged(IExecutionContainer container,
                           ExecutionState state)
Description copied from interface: IContainerStateListener
Called when the state of the container changed it's state.

Specified by:
onStateChanged in interface IContainerStateListener
Parameters:
container - The container which changed it's state.
state - The actual state of the container.


Copyright © 2019. All rights reserved.