org.jactr.modules.pm.motor.buffer.processor
Class AbortRequestDelegate

java.lang.Object
  extended by org.jactr.core.buffer.delegate.SimpleRequestDelegate
      extended by org.jactr.modules.pm.motor.buffer.processor.AbortRequestDelegate
All Implemented Interfaces:
IRequestDelegate

public class AbortRequestDelegate
extends SimpleRequestDelegate


Constructor Summary
AbortRequestDelegate(IChunkType chunkType)
           
 
Method Summary
 void clear()
          noop.
static IMovement getMovement(ChunkTypeRequest cRequest, AbstractMotorModule motor)
          returns the current movement associated with the muscle defined in this request
 boolean request(IRequest request, IActivationBuffer buffer, double requestTime)
          do the module specific processing
 
Methods inherited from class org.jactr.core.buffer.delegate.SimpleRequestDelegate
willAccept
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbortRequestDelegate

public AbortRequestDelegate(IChunkType chunkType)
Method Detail

request

public boolean request(IRequest request,
                       IActivationBuffer buffer,
                       double requestTime)
Description copied from interface: IRequestDelegate
do the module specific processing

Returns:
true if this was successful (will propogate the buffer event)

getMovement

public static IMovement getMovement(ChunkTypeRequest cRequest,
                                    AbstractMotorModule motor)
returns the current movement associated with the muscle defined in this request

Parameters:
request -
Returns:

clear

public void clear()
noop. aborts are immediately processed