public class AbstractVocalModule extends AbstractPerceptualModule implements IVocalModule
IVocalModule.ExecutionTimeResolution
CLEAR_CHUNK_TYPE, PREPARATION_EQUATION, SPEAK_CHUNK_TYPE, STRING_SLOT, SUBVOCALIZE_CHUNK_TYPE, VOCAL_BUFFER, VOCALIZATION_EQUATION
GREATER_THAN_CURRENT_CHUNK, HIGHEST_CHUNK, LESS_THAN_CURRENT_CHUNK, LOWEST_CHUNK
STRICT_SYNCHRONIZATION_PARAM
Constructor and Description |
---|
AbstractVocalModule() |
dispose, getBusyChunk, getCommonRealityExecutor, getErrorChunk, getExecutor, getFreeChunk, getNamedChunk, getNamedChunkType, getRequestedChunk, getSymbolGrounder, getUnrequestedChunk, setSymbolGrounder
getParameter, getPossibleParameters, getSetableParameters, isStrictSynchronizationEnabled, setParameter, setStrictSynchronizationEnabled, synchronizedTimedEvent
delayedFuture, delayedFuture, getModel, getName, getSafeName, immediateFuture, immediateReturn, install, setExecutor, uninstall
addAdapterFactory, getAdapter, removeAdapterFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCommonRealityExecutor, getSymbolGrounder, setSymbolGrounder
getExecutor, isStrictSynchronizationEnabled, setStrictSynchronizationEnabled, synchronizedTimedEvent
uninstall
getAdapter
getParameter, getPossibleParameters, getSetableParameters, setParameter
protected void setPreparationTimeEquation(IVocalPreparationTimeEquation equation)
protected void setExecutionTimeEquation(IVocalExecutionTimeEquation equation)
protected void setProcessingTimeEquation(IVocalProcessingTimeEquation equation)
public java.lang.String getPreparedVocalization()
IVocalModule
getPreparedVocalization
in interface IVocalModule
public IVocalPreparationTimeEquation getPreparationTimeEquation()
getPreparationTimeEquation
in interface IVocalModule
public IVocalExecutionTimeEquation getExecutionTimeEquation()
getExecutionTimeEquation
in interface IVocalModule
public IVocalProcessingTimeEquation getProcessingTimeEquation()
getProcessingTimeEquation
in interface IVocalModule
public IVocalActivationBuffer getVocalBuffer()
getVocalBuffer
in interface IVocalModule
public IChunkType getSpeakChunkType()
getSpeakChunkType
in interface IVocalModule
public IChunkType getSubvocalizeChunkType()
getSubvocalizeChunkType
in interface IVocalModule
public void reset()
IVocalModule
reset
in interface IModule
reset
in interface IVocalModule
protected IVocalActivationBuffer createVocalBuffer()
protected java.util.Collection<IActivationBuffer> createBuffers()
AbstractModule
createBuffers
in class AbstractModule
protected void connectToCommonReality()
connectToCommonReality
in class AbstractPerceptualModule
protected void disconnectFromCommonReality()
AbstractPerceptualModule
disconnectFromCommonReality
in class AbstractPerceptualModule
public void initialize()
IModule
initialize
in interface IModule
initialize
in interface IInitializable
initialize
in class AbstractPerceptualModule
public IEfferentObject getVocalizationSource()
public IVocalModule.ExecutionTimeResolution getExecutionTimeResolution()
getExecutionTimeResolution
in interface IVocalModule
public void setExecutionTimeResolution(IVocalModule.ExecutionTimeResolution resolution)
public java.util.concurrent.Future<VocalizationCommand> execute(VocalizationCommand command)
execute
in interface IVocalModule
public java.util.concurrent.Future<VocalizationCommand> prepare(IRequest request, double estimatedDuration)
prepare
in interface IVocalModule
public void addListener(IVocalModuleListener listener, java.util.concurrent.Executor executor)
addListener
in interface IVocalModule
public void dispatch(VocalModuleEvent event)
dispatch
in interface IVocalModule
public boolean hasListeners()
hasListeners
in interface IVocalModule
public void removeListener(IVocalModuleListener listener)
removeListener
in interface IVocalModule