org.jactr.modules.pm.visual.buffer.processor
Class VisualSearchRequestDelegate

java.lang.Object
  extended by org.jactr.core.buffer.delegate.AsynchronousRequestDelegate
      extended by org.jactr.modules.pm.common.buffer.AbstractRequestDelegate
          extended by org.jactr.modules.pm.visual.buffer.processor.VisualSearchRequestDelegate
All Implemented Interfaces:
IRequestDelegate

public class VisualSearchRequestDelegate
extends AbstractRequestDelegate

handles visual-location requests by checking and managing the buffer states and routing to the visual module. This also uses a blocking timed event from the super class to make sure that the model does not run past the firing time until the visual module has completed its visual search

Author:
harrison

Constructor Summary
VisualSearchRequestDelegate(IVisualModule module)
           
 
Method Summary
 void cancelBufferStuff()
           
 boolean isBufferStuffPending()
           
 
Methods inherited from class org.jactr.modules.pm.common.buffer.AbstractRequestDelegate
willAccept
 
Methods inherited from class org.jactr.core.buffer.delegate.AsynchronousRequestDelegate
clear, isAsynchronous, isDelayingStart, isUsingBlockingTimedEvents, request, setAsynchronous, setDelayStart, setUseBlockingTimedEvents
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VisualSearchRequestDelegate

public VisualSearchRequestDelegate(IVisualModule module)
Method Detail

isBufferStuffPending

public final boolean isBufferStuffPending()

cancelBufferStuff

public final void cancelBufferStuff()