public class DefaultVisualActivationBuffer6 extends AbstractPMActivationBuffer6 implements IVisualActivationBuffer, ICompilableBuffer
Modifier and Type | Field and Description |
---|---|
protected AttendToRequestDelegate |
_attendToDelegate |
protected ICompilableContext |
_compilableContext |
protected AttendToRequestDelegate |
_moveAttentionDelegate |
protected IChunkType |
_visualChunkType |
static org.apache.commons.logging.Log |
LOGGER
logger definition
|
_pendingTimedEvents
ACTIVATION_PARAM, GOAL_VALUE_PARAM, STRICT_HARVESTING_PARAM
EXECUTION_SLOT, IS_BUFFER_STUFF_REQUEST, MODALITY_SLOT, PREPARATION_SLOT, PROCESSOR_SLOT
BUFFER_SLOT, ERROR_CHANGED_TOO_MUCH_CHUNK, ERROR_DELETED_CHUNK, ERROR_INVALID_INDEX_CHUNK, ERROR_NO_LONGER_AVAILABLE_CHUNK, ERROR_NOTHING_AVAILABLE_CHUNK, ERROR_NOTHING_MATCHES_CHUNK, ERROR_SLOT, ERROR_UNKNOWN_CHUNK, STATE_SLOT
AURAL, AURAL_LOCATION, GOAL, IMAGINAL, MOTOR, RETRIEVAL, VISUAL, VISUAL_LOCATION, VOCAL
Constructor and Description |
---|
DefaultVisualActivationBuffer6(IVisualModule module) |
Modifier and Type | Method and Description |
---|---|
protected IChunk |
addSourceChunkInternal(IChunk chunkToInsert)
return the source chunk that was actually inserted into the buffer (i.e.
|
protected java.util.Collection<IChunk> |
clearInternal()
clear the buffer and abort any timed events that are pending
|
protected void |
grabReferences()
called once the model is started.
|
protected void |
installDefaultChunkPatternProcessors() |
protected boolean |
isValidChunkType(IChunkType chunkType)
check to see if a chunk of this chunktype can be added as a source chunk
|
protected void |
setSourceChunkInternal(IChunk chunk)
set the source chunk and flag the FINST for the visual object as attended
|
clear, dispose, enqueueTimedEvent, getCompilableContext, initialize, isExecutionBusy, isExecutionFree, isModalityBusy, isModalityFree, isPreparationBusy, isPreparationFree, isProcessorBusy, isProcessorFree, removeSourceChunkInternal, setExecutionChunk, setModalityChunk, setPreparationChunk, setProcessorChunk, shouldCopyOnInsertion, willAccept
addRequestDelegate, getRequestDelegates, getSourceChunkInternal, getSourceChunksInternal, removeRequestDelegate, requestInternal
request
addListener, addSlot, addSourceChunk, bind, checkStatusSlotContent, getBusyChunk, getEmptyChunk, getErrorChunk, getFreeChunk, getFullChunk, getRequestedChunk, getSlot, getSlots, getSlots, getUnrequestedChunk, hasSlot, isBufferEmpty, isBufferFull, isBufferRequested, isBufferUnrequested, isErrorSet, isStateBusy, isStateError, isStateFree, removeListener, removeSlot, setBufferChunk, setErrorChunk, setStateChunk, setStatusSlotContent, shouldAcceptAsSource, sourceChunkCopied, valueChanged
addListener, contains, containsExact, getActivation, getActivationSpreader, getEventDispatcher, getG, getLock, getModel, getModule, getName, getParameter, getPossibleParameters, getSetableParameters, getSourceChunk, getSourceChunks, getSourceChunks, handlesEncoding, isStrictHarvestingEnabled, matched, matchedInternal, removeListener, removeSourceChunk, setActivation, setActivationSpreader, setG, setParameter, setStrictHarvestingEnabled, toString
addAdapterFactory, getAdapter, removeAdapterFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isExecutionBusy, isExecutionFree, isModalityBusy, isModalityFree, isPreparationBusy, isPreparationFree, isProcessorBusy, isProcessorFree, setExecutionChunk, setModalityChunk, setPreparationChunk, setProcessorChunk
bind, isBufferEmpty, isBufferFull, isBufferRequested, isBufferUnrequested, isErrorSet, isStateBusy, isStateError, isStateFree, setBufferChunk, setErrorChunk, setStateChunk
addListener, removeListener, valueChanged
getSlot, hasSlot
addSlot, getSlots, getSlots, removeSlot
addRequestDelegate, getRequestDelegates, removeRequestDelegate
request, willAccept
addListener, addSourceChunk, clear, contains, dispose, getActivation, getG, getModel, getModule, getName, getSourceChunk, getSourceChunks, getSourceChunks, handlesEncoding, isStrictHarvestingEnabled, matched, removeListener, removeSourceChunk, setActivation, setG
initialize
getAdapter
enqueueTimedEvent
getCompilableContext
public static final org.apache.commons.logging.Log LOGGER
protected IChunkType _visualChunkType
protected AttendToRequestDelegate _moveAttentionDelegate
protected AttendToRequestDelegate _attendToDelegate
protected ICompilableContext _compilableContext
public DefaultVisualActivationBuffer6(IVisualModule module)
protected java.util.Collection<IChunk> clearInternal()
AbstractPMActivationBuffer6
clearInternal
in class AbstractPMActivationBuffer6
AbstractActivationBuffer.clear()
protected void grabReferences()
AbstractActivationBuffer
grabReferences
in class AbstractPMActivationBuffer6
protected void installDefaultChunkPatternProcessors()
protected boolean isValidChunkType(IChunkType chunkType)
AbstractPMActivationBuffer6
isValidChunkType
in class AbstractPMActivationBuffer6
protected IChunk addSourceChunkInternal(IChunk chunkToInsert)
AbstractActivationBuffer
addSourceChunkInternal
in class AbstractPMActivationBuffer6
chunkToInsert
- the chunk to be inserted, will never be null nor already in the
bufferprotected void setSourceChunkInternal(IChunk chunk)
setSourceChunkInternal
in class DefaultDelegatedRequestableBuffer6
chunk
- DefaultDelegatedRequestableBuffer6.setSourceChunkInternal(org.jactr.core.chunk.IChunk)