org.robokind.impl.motion.messaging
Class TargetFrameListener

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

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

Listens for MotionFrameEvents and passes them a PositionTargetFrameSource.

Author:
Matthew Stevenson

Constructor Summary
TargetFrameListener()
           
 
Method Summary
 void handleEvent(org.robokind.api.motion.protocol.MotionFrameEvent event)
           
 void setRobotFrameSource(org.robokind.api.motion.utils.PositionTargetFrameSource posTargetFrameSource)
          Sets the PositionTargetFrameSource 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

TargetFrameListener

public TargetFrameListener()
Method Detail

setRobotFrameSource

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

Parameters:
posTargetFrameSource - PositionTargetFrameSource 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.