org.jactr.modules.pm.vocal
Class AbstractVocalModule
java.lang.Object
org.jactr.core.module.AbstractModule
org.jactr.core.module.asynch.AbstractAsynchronousModule
org.jactr.modules.pm.AbstractPerceptualModule
org.jactr.modules.pm.vocal.AbstractVocalModule
- All Implemented Interfaces:
- IAsynchronousModule, IModule, IInitializable, IInstallable, IParameterized, IPerceptualModule, IVocalModule
- Direct Known Subclasses:
- DefaultVocalModule6
public class AbstractVocalModule
- extends AbstractPerceptualModule
- implements IVocalModule
abstract implementation that
- Author:
- harrison
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractVocalModule
public AbstractVocalModule()
getPreparedVocalization
public java.lang.String getPreparedVocalization()
- Description copied from interface:
IVocalModule
- returns the currently prepared, but not vocalized speach
- Specified by:
getPreparedVocalization in interface IVocalModule
- Returns:
getPreparationTimeEquation
public IVocalPreparationTimeEquation getPreparationTimeEquation()
- Specified by:
getPreparationTimeEquation in interface IVocalModule
getExecutionTimeEquation
public IVocalExecutionTimeEquation getExecutionTimeEquation()
- Specified by:
getExecutionTimeEquation in interface IVocalModule
getProcessingTimeEquation
public IVocalProcessingTimeEquation getProcessingTimeEquation()
- Specified by:
getProcessingTimeEquation in interface IVocalModule
getVocalBuffer
public IVocalActivationBuffer getVocalBuffer()
- Specified by:
getVocalBuffer in interface IVocalModule
getSpeakChunkType
public IChunkType getSpeakChunkType()
- Specified by:
getSpeakChunkType in interface IVocalModule
getSubvocalizeChunkType
public IChunkType getSubvocalizeChunkType()
- Specified by:
getSubvocalizeChunkType in interface IVocalModule
reset
public void reset()
- Description copied from interface:
IModule
- reset the module. This will typically clear the owned buffers and abort
any module specific operations
- Specified by:
reset in interface IModule- Specified by:
reset in interface IVocalModule
initialize
public void initialize()
- Description copied from interface:
IModule
- this will be called after all the modules have been installed permitting
the module to attach listeners to other modules. if you want to get access
to chunks,types, or productions before the model runs, attach a model
listener and do that during the modelStarted call
- Specified by:
initialize in interface IModule- Specified by:
initialize in interface IInitializable- Overrides:
initialize in class AbstractPerceptualModule
getVocalizationSource
public org.commonreality.object.IEfferentObject getVocalizationSource()
getExecutionTimeResolution
public IVocalModule.ExecutionTimeResolution getExecutionTimeResolution()
- Specified by:
getExecutionTimeResolution in interface IVocalModule
setExecutionTimeResolution
public void setExecutionTimeResolution(IVocalModule.ExecutionTimeResolution resolution)
execute
public java.util.concurrent.Future<org.commonreality.modalities.vocal.VocalizationCommand> execute(org.commonreality.modalities.vocal.VocalizationCommand command)
- Specified by:
execute in interface IVocalModule
prepare
public java.util.concurrent.Future<org.commonreality.modalities.vocal.VocalizationCommand> prepare(IRequest request)
- Specified by:
prepare in interface IVocalModule
addListener
public void addListener(IVocalModuleListener listener,
java.util.concurrent.Executor executor)
- Specified by:
addListener in interface IVocalModule
dispatch
public void dispatch(VocalModuleEvent event)
- Specified by:
dispatch in interface IVocalModule
hasListeners
public boolean hasListeners()
- Specified by:
hasListeners in interface IVocalModule
removeListener
public void removeListener(IVocalModuleListener listener)
- Specified by:
removeListener in interface IVocalModule