org.jactr.modules.pm.motor.buffer.six
Class DefaultMotorActivationBuffer6

java.lang.Object
  extended by org.jactr.core.buffer.AbstractActivationBuffer
      extended by org.jactr.core.buffer.six.AbstractActivationBuffer6
          extended by org.jactr.core.buffer.six.AbstractRequestableBuffer6
              extended by org.jactr.core.buffer.delegate.DefaultDelegatedRequestableBuffer6
                  extended by org.jactr.modules.pm.common.buffer.AbstractPMActivationBuffer6
                      extended by org.jactr.modules.pm.motor.buffer.six.DefaultMotorActivationBuffer6
All Implemented Interfaces:
IDelegatedRequestableBuffer, IActivationBuffer, IRequestableBuffer, IStatusBuffer, ICompilableBuffer, ISlotContainer, IUniqueSlotContainer, IInitializable, IParameterized, IEventTrackingActivationBuffer, IPerceptualBuffer, IMotorActivationBuffer

public class DefaultMotorActivationBuffer6
extends AbstractPMActivationBuffer6
implements IMotorActivationBuffer


Field Summary
 
Fields inherited from class org.jactr.core.buffer.AbstractActivationBuffer
ACTIVATION, GOAL_VALUE, STRICT_HARVESTING_PARAM
 
Fields inherited from interface org.jactr.modules.pm.buffer.IPerceptualBuffer
EXECUTION_SLOT, IS_BUFFER_STUFF_REQUEST, MODALITY_SLOT, PREPARATION_SLOT, PROCESSOR_SLOT
 
Fields inherited from interface org.jactr.core.buffer.six.IStatusBuffer
BUFFER_SLOT, STATE_SLOT
 
Constructor Summary
DefaultMotorActivationBuffer6(java.lang.String name, AbstractMotorModule module)
           
 
Method Summary
 int bind(SlotBasedRequest request, java.util.Map<java.lang.String,java.lang.Object> bindings, boolean isIterative)
          Required to permit status buffers to participate in the variable binding process of production instantiation.
 void initialize()
          must be called after the model has started so that we can ensure that the status slot values are properly initialized
 
Methods inherited from class org.jactr.modules.pm.common.buffer.AbstractPMActivationBuffer6
dispose, enqueueTimedEvent, getCompilableContext, isExecutionBusy, isExecutionFree, isModalityBusy, isModalityFree, isPreparationBusy, isPreparationFree, isProcessorBusy, isProcessorFree, setExecutionChunk, setModalityChunk, setPreparationChunk, setProcessorChunk, willAccept
 
Methods inherited from class org.jactr.core.buffer.delegate.DefaultDelegatedRequestableBuffer6
addRequestDelegate, getRequestDelegates, removeRequestDelegate
 
Methods inherited from class org.jactr.core.buffer.six.AbstractRequestableBuffer6
request
 
Methods inherited from class org.jactr.core.buffer.six.AbstractActivationBuffer6
addSlot, addSourceChunk, getBusyChunk, getEmptyChunk, getErrorChunk, getFreeChunk, getFullChunk, getRequestedChunk, getSlot, getSlots, getSlots, getUnrequestedChunk, isBufferEmpty, isBufferFull, isBufferRequested, isBufferUnrequested, isStateBusy, isStateError, isStateFree, removeSlot, setBufferChunk, setStateChunk
 
Methods inherited from class org.jactr.core.buffer.AbstractActivationBuffer
addListener, clear, contains, getActivation, getG, getModel, getModule, getName, getParameter, getPossibleParameters, getSetableParameters, getSourceChunk, getSourceChunks, handlesEncoding, isStrictHarvestingEnabled, matched, removeListener, removeSourceChunk, setActivation, setG, setParameter, setStrictHarvestingEnabled
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jactr.modules.pm.buffer.IPerceptualBuffer
isExecutionBusy, isExecutionFree, isModalityBusy, isModalityFree, isPreparationBusy, isPreparationFree, isProcessorBusy, isProcessorFree, setExecutionChunk, setModalityChunk, setPreparationChunk, setProcessorChunk
 
Methods inherited from interface org.jactr.core.buffer.six.IStatusBuffer
isBufferEmpty, isBufferFull, isBufferRequested, isBufferUnrequested, isStateBusy, isStateError, isStateFree, setBufferChunk, setStateChunk
 
Methods inherited from interface org.jactr.core.slot.IUniqueSlotContainer
getSlot
 
Methods inherited from interface org.jactr.core.slot.ISlotContainer
addSlot, getSlots, getSlots, removeSlot
 
Methods inherited from interface org.jactr.core.buffer.delegate.IDelegatedRequestableBuffer
addRequestDelegate, getRequestDelegates, removeRequestDelegate
 
Methods inherited from interface org.jactr.modules.pm.buffer.IEventTrackingActivationBuffer
enqueueTimedEvent
 

Constructor Detail

DefaultMotorActivationBuffer6

public DefaultMotorActivationBuffer6(java.lang.String name,
                                     AbstractMotorModule module)
Method Detail

initialize

public void initialize()
Description copied from class: AbstractActivationBuffer6
must be called after the model has started so that we can ensure that the status slot values are properly initialized

Specified by:
initialize in interface IInitializable
Overrides:
initialize in class AbstractPMActivationBuffer6

bind

public int bind(SlotBasedRequest request,
                java.util.Map<java.lang.String,java.lang.Object> bindings,
                boolean isIterative)
         throws CannotMatchException
Description copied from interface: IStatusBuffer
Required to permit status buffers to participate in the variable binding process of production instantiation. Since we don't know a priori what the slots the status buffers will contain or their possible values, it is up to the status buffers to attempt to bind variable values

Specified by:
bind in interface IStatusBuffer
Overrides:
bind in class AbstractActivationBuffer6
Returns:
Throws:
CannotMatchException