edu.memphis.ccrg.lida.sensorymemory
Class SensoryMemoryImpl
java.lang.Object
edu.memphis.ccrg.lida.framework.FrameworkModuleImpl
edu.memphis.ccrg.lida.sensorymemory.SensoryMemoryImpl
- All Implemented Interfaces:
- FrameworkModule, FullyInitializable, Initializable, SensoryMemory
public abstract class SensoryMemoryImpl
- extends FrameworkModuleImpl
- implements SensoryMemory
Default implementation of the SensoryMemory
module. This module should
sense the environment, store the sensed data and processing it. It should expect access
to its content from DetectionAlgorithm
s and it should transmit content to
SensoryMotorMemory
.
- Author:
- Ryan J. McCall
Methods inherited from class edu.memphis.ccrg.lida.framework.FrameworkModuleImpl |
addSubModule, containsSubmodule, containsSubmodule, getAssistingTaskSpawner, getModuleContent, getModuleName, getParam, getSubmodule, getSubmodule, getSubmodules, init, init, setAssistingTaskSpawner, setModuleName, taskManagerDecayModule, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface edu.memphis.ccrg.lida.framework.FrameworkModule |
addSubModule, containsSubmodule, containsSubmodule, decayModule, getAssistingTaskSpawner, getModuleContent, getModuleName, getSubmodule, getSubmodule, getSubmodules, setAssistingTaskSpawner, setModuleName, taskManagerDecayModule |
listeners
protected java.util.List<SensoryMemoryListener> listeners
- The listeners associated with this memory.
environment
protected Environment environment
- The environment associated with this memory.
SensoryMemoryImpl
public SensoryMemoryImpl()
- Default Constructor.
addListener
public void addListener(ModuleListener listener)
- Description copied from class:
FrameworkModuleImpl
- Override this method to add a listener to the module
- Specified by:
addListener
in interface FrameworkModule
- Overrides:
addListener
in class FrameworkModuleImpl
- Parameters:
listener
- - listener of this FrameworkModule
addSensoryMemoryListener
public void addSensoryMemoryListener(SensoryMemoryListener l)
- Description copied from interface:
SensoryMemory
- Adds a listener to this memory. This listener constantly checks for
information being sent from this memory to other modules (Perceptual
Associative Memory and Sensory Motor Memory).
- Specified by:
addSensoryMemoryListener
in interface SensoryMemory
- Parameters:
l
- the listener added to this memory
setAssociatedModule
public void setAssociatedModule(FrameworkModule module,
java.lang.String moduleUsage)
- Description copied from interface:
FullyInitializable
- Sets an associated FrameworkModule.
- Specified by:
setAssociatedModule
in interface FullyInitializable
- Overrides:
setAssociatedModule
in class FrameworkModuleImpl
- Parameters:
module
- the module to be associated.moduleUsage
- how module will be used @see ModuleUsage