edu.memphis.ccrg.lida.actionselection
Interface AgentAction

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
AgentActionImpl

public interface AgentAction
extends java.io.Serializable

Encapsulation of an action to be executed.

Author:
Ryan J. McCall, Javier Snaider

Nested Class Summary
static class AgentAction.Topology
           
 
Method Summary
 FrameworkModule getAssociatedModule()
           
 java.lang.Object getContent()
           
 long getId()
           
 java.lang.String getLabel()
           
 void performAction()
          The actual action that should be performed.
 void setAssociatedModule(FrameworkModule module)
          Sets an associated FrameworkModule.
 void setContent(java.lang.Object content)
           
 void setLabel(java.lang.String label)
           
 java.lang.String toString()
          Useful to implement this for the display of tasks in the GUI
 

Method Detail

performAction

void performAction()
The actual action that should be performed. The action can interact directly with any module in LIDA, specially the SensoryMotorMemory.


getContent

java.lang.Object getContent()
Returns:
the action content.

setContent

void setContent(java.lang.Object content)
Parameters:
content - the content to set.

getLabel

java.lang.String getLabel()
Returns:
the action label.

setLabel

void setLabel(java.lang.String label)
Parameters:
label - the action label to set.

setAssociatedModule

void setAssociatedModule(FrameworkModule module)
Sets an associated FrameworkModule.

Parameters:
module - the module to be associated.

getAssociatedModule

FrameworkModule getAssociatedModule()
Returns:
the module

getId

long getId()
Returns:
the AgentAction id

toString

java.lang.String toString()
Useful to implement this for the display of tasks in the GUI

Overrides:
toString in class java.lang.Object
Returns:
String