public class BasicBuffer6 extends AbstractActivationBuffer6
ACTIVATION_PARAM, GOAL_VALUE_PARAM, STRICT_HARVESTING_PARAM
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 |
---|
BasicBuffer6(java.lang.String name,
IModule module) |
Modifier and Type | Method and Description |
---|---|
protected IChunk |
addSourceChunkInternal(IChunk chunkToInsert)
chunkToInsert is a copy of what was passed iff it has been encoded
|
protected IChunk |
getSourceChunkInternal()
return the source chunk from the internal backing store
|
protected java.util.Collection<IChunk> |
getSourceChunksInternal(java.util.Collection<IChunk> container) |
protected boolean |
removeSourceChunkInternal(IChunk chunkToRemove)
do the actual work of removing chunkToRemove from the buffer.
|
protected void |
setSourceChunkInternal(IChunk sourceChunk) |
addListener, addSlot, addSourceChunk, bind, checkStatusSlotContent, clearInternal, dispose, getBusyChunk, getEmptyChunk, getErrorChunk, getFreeChunk, getFullChunk, getRequestedChunk, getSlot, getSlots, getSlots, getUnrequestedChunk, grabReferences, hasSlot, isBufferEmpty, isBufferFull, isBufferRequested, isBufferUnrequested, isErrorSet, isStateBusy, isStateError, isStateFree, removeListener, removeSlot, setBufferChunk, setErrorChunk, setStateChunk, setStatusSlotContent, shouldAcceptAsSource, shouldCopyOnInsertion, sourceChunkCopied, valueChanged
addListener, clear, contains, containsExact, getActivation, getActivationSpreader, getEventDispatcher, getG, getLock, getModel, getModule, getName, getParameter, getPossibleParameters, getSetableParameters, getSourceChunk, getSourceChunks, getSourceChunks, handlesEncoding, initialize, isStrictHarvestingEnabled, matched, matchedInternal, removeListener, removeSourceChunk, setActivation, setActivationSpreader, setG, setParameter, setStrictHarvestingEnabled, toString
addAdapterFactory, getAdapter, removeAdapterFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addListener, clear, contains, getActivation, getG, getModel, getModule, getName, getSourceChunk, getSourceChunks, getSourceChunks, handlesEncoding, isStrictHarvestingEnabled, matched, removeListener, removeSourceChunk, setActivation, setG
initialize
getAdapter
public BasicBuffer6(java.lang.String name, IModule module)
protected void setSourceChunkInternal(IChunk sourceChunk)
protected IChunk addSourceChunkInternal(IChunk chunkToInsert)
addSourceChunkInternal
in class AbstractActivationBuffer
chunkToInsert
- the chunk to be inserted, will never be null nor already in the
bufferAbstractActivationBuffer.addSourceChunkInternal(org.jactr.core.chunk.IChunk)
protected boolean removeSourceChunkInternal(IChunk chunkToRemove)
AbstractActivationBuffer
removeSourceChunkInternal
in class AbstractActivationBuffer
chunkToRemove
- chunk that is in the buffer, never nullprotected IChunk getSourceChunkInternal()
AbstractActivationBuffer
getSourceChunkInternal
in class AbstractActivationBuffer
AbstractActivationBuffer.getSourceChunkInternal()
protected java.util.Collection<IChunk> getSourceChunksInternal(java.util.Collection<IChunk> container)
getSourceChunksInternal
in class AbstractActivationBuffer
org.jactr.core.buffer.AbstractActivationBuffer#getSourceChunksInternal()