org.jactr.modules.pm.aural.buffer.six
Class DefaultAuralLocationBuffer

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.aural.buffer.six.DefaultAuralLocationBuffer
All Implemented Interfaces:
IDelegatedRequestableBuffer, IActivationBuffer, IRequestableBuffer, IStatusBuffer, ICompilableBuffer, ISlotContainer, IUniqueSlotContainer, IInitializable, IParameterized, IAuralLocationBuffer, IEventTrackingActivationBuffer, IPerceptualBuffer

public class DefaultAuralLocationBuffer
extends AbstractPMActivationBuffer6
implements IAuralLocationBuffer

Author:
developer

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
DefaultAuralLocationBuffer(IAuralModule module)
           
 
Method Summary
 void cancelBufferStuff()
           
 void checkForBufferStuff()
           
 void enqueueTimedEvent(ITimedEvent timedEvent)
          called when we want to queue a timed event onto the model's event queue this also tracks all the pending events so that if they fire or get aborted we are notified, and it permits us to abort when a clear is called
 void initialize()
          must be called after the model has started so that we can ensure that the status slot values are properly initialized
 boolean isBufferStuffPending()
           
 
Methods inherited from class org.jactr.modules.pm.common.buffer.AbstractPMActivationBuffer6
dispose, 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, bind, 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
bind, 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
 

Constructor Detail

DefaultAuralLocationBuffer

public DefaultAuralLocationBuffer(IAuralModule module)
Parameters:
name -
model -
module -
Method Detail

enqueueTimedEvent

public void enqueueTimedEvent(ITimedEvent timedEvent)
Description copied from class: AbstractPMActivationBuffer6
called when we want to queue a timed event onto the model's event queue this also tracks all the pending events so that if they fire or get aborted we are notified, and it permits us to abort when a clear is called

Specified by:
enqueueTimedEvent in interface IEventTrackingActivationBuffer
Overrides:
enqueueTimedEvent in class AbstractPMActivationBuffer6

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

checkForBufferStuff

public void checkForBufferStuff()
Specified by:
checkForBufferStuff in interface IAuralLocationBuffer

isBufferStuffPending

public boolean isBufferStuffPending()
Specified by:
isBufferStuffPending in interface IAuralLocationBuffer

cancelBufferStuff

public void cancelBufferStuff()
Specified by:
cancelBufferStuff in interface IAuralLocationBuffer