edu.memphis.ccrg.lida.sensorymemory
Interface SensoryMemory

All Superinterfaces:
FrameworkModule, FullyInitializable, Initializable
All Known Implementing Classes:
SensoryMemoryImpl

public interface SensoryMemory
extends FrameworkModule

This is the interface to be implemented by sensory memory modules. Implementing modules sense the environment, store the sensed data ,and process it.

Author:
Ryan J. McCall

Method Summary
 void addSensoryMemoryListener(SensoryMemoryListener l)
          Adds a listener to this memory.
 java.lang.Object getSensoryContent(java.lang.String modality, java.util.Map<java.lang.String,java.lang.Object> params)
          Returns content from this SensoryMemory.
 void runSensors()
          Runs all the sensors associated with this memory.
 
Methods inherited from interface edu.memphis.ccrg.lida.framework.FrameworkModule
addListener, addSubModule, containsSubmodule, containsSubmodule, decayModule, getAssistingTaskSpawner, getModuleContent, getModuleName, getSubmodule, getSubmodule, getSubmodules, setAssistingTaskSpawner, setModuleName, taskManagerDecayModule
 
Methods inherited from interface edu.memphis.ccrg.lida.framework.initialization.FullyInitializable
setAssociatedModule
 
Methods inherited from interface edu.memphis.ccrg.lida.framework.initialization.Initializable
containsParameter, getParam, getParameters, init, init
 

Method Detail

addSensoryMemoryListener

void addSensoryMemoryListener(SensoryMemoryListener l)
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).

Parameters:
l - the listener added to this memory

runSensors

void runSensors()
Runs all the sensors associated with this memory. The sensors get the information from the environment and store in this memory for later processing and passing to the perceptual memory module.


getSensoryContent

java.lang.Object getSensoryContent(java.lang.String modality,
                                   java.util.Map<java.lang.String,java.lang.Object> params)
Returns content from this SensoryMemory. Intended to be used by feature detectors to get specific parts of the sensory memory.

Parameters:
modality - user may optionally use this parameter to specify modality.
params - optional parameters
Returns:
content