org.robokind.impl.motion.messaging
Class MoveFrameListener

java.lang.Object
  extended by org.robokind.impl.motion.messaging.MoveFrameListener
All Implemented Interfaces:
org.robokind.api.common.utils.Listener<org.robokind.api.motion.protocol.MotionFrameEvent>

public class MoveFrameListener
extends Object
implements org.robokind.api.common.utils.Listener<org.robokind.api.motion.protocol.MotionFrameEvent>

Listens for MotionFrameEvents and passes them a RobotFrameSource.

Author:
Matthew Stevenson

Constructor Summary
MoveFrameListener()
           
 
Method Summary
 void handleEvent(org.robokind.api.motion.protocol.MotionFrameEvent event)
           
 void setRobotFrameSource(org.robokind.api.motion.utils.RobotFrameSource robotFrameSource)
          Sets the RobotFrameSource to pass goal positions to.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MoveFrameListener

public MoveFrameListener()
Method Detail

setRobotFrameSource

public void setRobotFrameSource(org.robokind.api.motion.utils.RobotFrameSource robotFrameSource)
Sets the RobotFrameSource to pass goal positions to.

Parameters:
robotFrameSource - RobotFrameSource to use

handleEvent

public void handleEvent(org.robokind.api.motion.protocol.MotionFrameEvent event)
Specified by:
handleEvent in interface org.robokind.api.common.utils.Listener<org.robokind.api.motion.protocol.MotionFrameEvent>


Copyright © 2011. All Rights Reserved.