Public Member Functions | Static Public Attributes | Protected Attributes
org.srs.srs_knowledge.task.HighLevelActionUnit Class Reference
Inheritance diagram for org.srs.srs_knowledge.task.HighLevelActionUnit:
Inheritance graph
[legend]

List of all members.

Public Member Functions

boolean addFeedback (String key, ActionFeedback fb)
abstract String getActionType ()
CUAction getCUActionAt (int ind)
int getCurrentCUActionIndex ()
ActionFeedback getFeedback (String key)
int getNextCUActionIndex (boolean statusLastStep)
int getNumOfActions ()
abstract boolean ifParametersSet ()
boolean setParameters (String action, String para, String reservedParam)

Static Public Attributes

static final int COMPLETED_FAIL = -11
static final int COMPLETED_SUCCESS = -10
static final int INVALID_INDEX = -100

Protected Attributes

String actionType = ""
ArrayList< GenericAction > actionUnits = new ArrayList<GenericAction>()
int currentActionInd = -1
HashMap< String, ActionFeedbackfeedbacks
boolean ifParametersSet
int[] nextActionMapIfFail
int[] nextActionMapIfSuccess

Detailed Description

An ActionUnit is a container of GenericAction. Unit does not have to be containing only one action. e.g. an action of detection an object on a table can contain a few steps, move to pos1, detect, move to pos2, detect, move to pos3, detect, etc. But generally, it may just contain one genericAction, e.g. pub object on tray, move to a position

Definition at line 69 of file HighLevelActionUnit.java.


Member Function Documentation

Definition at line 164 of file HighLevelActionUnit.java.

Definition at line 104 of file HighLevelActionUnit.java.

Definition at line 79 of file HighLevelActionUnit.java.

Definition at line 172 of file HighLevelActionUnit.java.

Definition at line 75 of file HighLevelActionUnit.java.

boolean org.srs.srs_knowledge.task.HighLevelActionUnit.setParameters ( String  action,
String  para,
String  reservedParam 
) [inline]

Member Data Documentation

Definition at line 184 of file HighLevelActionUnit.java.

ArrayList<GenericAction> org.srs.srs_knowledge.task.HighLevelActionUnit.actionUnits = new ArrayList<GenericAction>() [protected]

Definition at line 185 of file HighLevelActionUnit.java.

Definition at line 72 of file HighLevelActionUnit.java.

Definition at line 71 of file HighLevelActionUnit.java.

Definition at line 190 of file HighLevelActionUnit.java.

Definition at line 188 of file HighLevelActionUnit.java.

Definition at line 191 of file HighLevelActionUnit.java.

Definition at line 73 of file HighLevelActionUnit.java.

Definition at line 186 of file HighLevelActionUnit.java.

Definition at line 187 of file HighLevelActionUnit.java.


The documentation for this class was generated from the following file:


srs_knowledge
Author(s): Ze Ji
autogenerated on Mon Oct 6 2014 08:27:33