org.jactr.modules.pm
Class AbstractPerceptualModule
java.lang.Object
org.jactr.core.module.AbstractModule
org.jactr.core.module.asynch.AbstractAsynchronousModule
org.jactr.modules.pm.AbstractPerceptualModule
- All Implemented Interfaces:
- IAsynchronousModule, IModule, IInitializable, IInstallable, IParameterized, IPerceptualModule
- Direct Known Subclasses:
- AbstractAuralModule, AbstractMotorModule, AbstractVisualModule, AbstractVocalModule
public abstract class AbstractPerceptualModule
- extends AbstractAsynchronousModule
- implements IPerceptualModule, IParameterized, IAsynchronousModule
|
Field Summary |
static org.apache.commons.logging.Log |
LOGGER
logger definition |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOGGER
public static final org.apache.commons.logging.Log LOGGER
- logger definition
AbstractPerceptualModule
public AbstractPerceptualModule(java.lang.String name)
getSymbolGrounder
public ISymbolGrounder getSymbolGrounder()
- Description copied from interface:
IPerceptualModule
- returns the shared symbol grounder. In order to do cross-modal linkages
correctly all modules should use the same grounder.
- Specified by:
getSymbolGrounder in interface IPerceptualModule
- Returns:
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- Specified by:
initialize in class AbstractModule
dispose
public void dispose()
- Description copied from interface:
IModule
- release any resources. this should only be called by the model during its
own dispose method (assuming that this module is still installed) and
should not result in the propogation of ANY events. The module should
dispose of all its resources, including buffers
- Specified by:
dispose in interface IModule- Overrides:
dispose in class AbstractModule
getCommonRealityExecutor
public java.util.concurrent.Executor getCommonRealityExecutor()
- return the executor that should shared by all common reality listeners.
this call is only valid after common reality has been connected
- Specified by:
getCommonRealityExecutor in interface IPerceptualModule
- Returns:
getExecutor
public java.util.concurrent.Executor getExecutor()
- Description copied from class:
AbstractModule
- default executor INLINE_EXECUTOR is used
- Specified by:
getExecutor in interface IAsynchronousModule- Overrides:
getExecutor in class AbstractModule
getFreeChunk
public IChunk getFreeChunk()
getErrorChunk
public IChunk getErrorChunk()
getBusyChunk
public IChunk getBusyChunk()
getRequestedChunk
public IChunk getRequestedChunk()
getUnrequestedChunk
public IChunk getUnrequestedChunk()