|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IMotionContainerListener
Event listener interface that provides events for the states of motions for a motion container.
| Method Summary | |
|---|---|
void |
containerFinished(IMotionContainer container)
Invoked when all motions inside the container have been finished. |
void |
motionFinished(IMotionContainer container,
IMotion motion)
Invoked when the specified motion was finished. |
void |
motionStarted(IMotionContainer container,
IMotion motion)
Invoked when the execution of a motion was started. |
void |
onContainerStateChanged(IMotionContainer container,
MotionContainerState state)
Invoked when the motion container changed its state. |
| Method Detail |
|---|
void motionStarted(IMotionContainer container,
IMotion motion)
IMovable, but also for the other
motions contained in the original motion.
For each motion that was started, a corresponding motionFinished(IMotionContainer, IMotion) event will
be triggered when the motion is finished. Note however, that if a combined motion is commanded like described
above, there might be multiple motionStarted(IMotionContainer, IMotion) events in a row before the first
motion is finished.
Caution: Because this method is not synchronized to the motion container, the motion might already be finished by the time this method is called.
container - the motion containermotion - the started motion
void motionFinished(IMotionContainer container,
IMotion motion)
container - the motion containermotion - the motion that was finished.void containerFinished(IMotionContainer container)
IMotionContainer.append(IMotion).
container - the finished motion container
void onContainerStateChanged(IMotionContainer container,
MotionContainerState state)
Caution: Because this method is not synchronized to the motion container, its current state might have progressed to another state by the time this method is called.
container - the motion containerstate - the state that the container changed into
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||