org.commonreality.sensors.motor.interpolator
Class InterpolatorActuator

java.lang.Object
  extended by org.commonreality.sensors.motor.interpolator.InterpolatorActuator
All Implemented Interfaces:
IActuator

public class InterpolatorActuator
extends java.lang.Object
implements IActuator

routes commands from the MotorCommandHandler to the proper actuator, which in this case just queues up the appropriate events

Author:
harrison

Constructor Summary
InterpolatorActuator(IInterpolator interpolator)
           
 
Method Summary
 void abort(IAgentObject agent, MovementCommand movement, EfferentCommandHandler handler)
           
 void start(IAgentObject agent, MovementCommand movement, EfferentCommandHandler handler)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterpolatorActuator

public InterpolatorActuator(IInterpolator interpolator)
Method Detail

abort

public void abort(IAgentObject agent,
                  MovementCommand movement,
                  EfferentCommandHandler handler)
Specified by:
abort in interface IActuator

start

public void start(IAgentObject agent,
                  MovementCommand movement,
                  EfferentCommandHandler handler)
Specified by:
start in interface IActuator