edu.memphis.ccrg.lida.framework.mockclasses
Class MockSensoryMotorMemory

java.lang.Object
  extended by edu.memphis.ccrg.lida.framework.FrameworkModuleImpl
      extended by edu.memphis.ccrg.lida.sensorymotormemory.BasicSensoryMotorMemory
          extended by edu.memphis.ccrg.lida.framework.mockclasses.MockSensoryMotorMemory
All Implemented Interfaces:
ActionSelectionListener, FrameworkModule, FullyInitializable, Initializable, ModuleListener, SensoryMemoryListener, SensoryMotorMemory

public class MockSensoryMotorMemory
extends BasicSensoryMotorMemory
implements ActionSelectionListener


Field Summary
 Action action
           
 boolean actionReceived
           
 
Fields inherited from class edu.memphis.ccrg.lida.framework.FrameworkModuleImpl
taskSpawner
 
Constructor Summary
MockSensoryMotorMemory()
           
 
Method Summary
 void receiveAction(Action action)
          Listener must receive actions.
 
Methods inherited from class edu.memphis.ccrg.lida.sensorymotormemory.BasicSensoryMotorMemory
addActionAlgorithm, addListener, addSensoryMotorMemoryListener, decayModule, getModuleContent, init, receiveSensoryMemoryContent, sendActuatorCommand, setAssociatedModule
 
Methods inherited from class edu.memphis.ccrg.lida.framework.FrameworkModuleImpl
addSubModule, containsSubmodule, containsSubmodule, getAssistingTaskSpawner, getModuleName, getParam, getSubmodule, getSubmodule, getSubmodules, 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, getAssistingTaskSpawner, getModuleName, getSubmodule, getSubmodule, getSubmodules, setAssistingTaskSpawner, setModuleName, taskManagerDecayModule
 
Methods inherited from interface edu.memphis.ccrg.lida.framework.initialization.Initializable
getParam, init
 

Field Detail

actionReceived

public boolean actionReceived

action

public Action action
Constructor Detail

MockSensoryMotorMemory

public MockSensoryMotorMemory()
Method Detail

receiveAction

public void receiveAction(Action action)
Description copied from interface: ActionSelectionListener
Listener must receive actions. Will be called for each action selected by the behavior network.

Specified by:
receiveAction in interface ActionSelectionListener
Overrides:
receiveAction in class BasicSensoryMotorMemory
Parameters:
action - - Id of the action stored in sensory motor memory