org.commonreality.sensors.keyboard
Class KeyboardMotorHandler

java.lang.Object
  extended by org.commonreality.sensors.handlers.AbstractCommandHandlerDelegate
      extended by org.commonreality.sensors.motor.MotorCommandHandler
          extended by org.commonreality.sensors.keyboard.KeyboardMotorHandler
All Implemented Interfaces:
ICommandHandlerDelegate

public class KeyboardMotorHandler
extends MotorCommandHandler


Constructor Summary
KeyboardMotorHandler()
           
 
Method Summary
 java.lang.Object shouldAccept(IEfferentCommand command, IAgentObject agent, EfferentCommandHandler handler)
          only accept motor commands where the source matched the provided efferent
 
Methods inherited from class org.commonreality.sensors.motor.MotorCommandHandler
abort, getActuator, getTimingEquation, setActuator, setTimingEquation, shouldStart, start
 
Methods inherited from class org.commonreality.sensors.handlers.AbstractCommandHandlerDelegate
shouldAbort
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyboardMotorHandler

public KeyboardMotorHandler()
Method Detail

shouldAccept

public java.lang.Object shouldAccept(IEfferentCommand command,
                                     IAgentObject agent,
                                     EfferentCommandHandler handler)
Description copied from class: MotorCommandHandler
only accept motor commands where the source matched the provided efferent

Specified by:
shouldAccept in interface ICommandHandlerDelegate
Overrides:
shouldAccept in class MotorCommandHandler
Returns: