$search

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

boolean org::srs::srs_knowledge::task::HighLevelActionUnit::addFeedback ( String  key,
ActionFeedback  fb 
) [inline]

Definition at line 158 of file HighLevelActionUnit.java.

abstract String org::srs::srs_knowledge::task::HighLevelActionUnit::getActionType (  )  [pure virtual]
CUAction org::srs::srs_knowledge::task::HighLevelActionUnit::getCUActionAt ( int  ind  )  [inline]

Definition at line 104 of file HighLevelActionUnit.java.

int org::srs::srs_knowledge::task::HighLevelActionUnit::getCurrentCUActionIndex (  )  [inline]

Definition at line 79 of file HighLevelActionUnit.java.

ActionFeedback org::srs::srs_knowledge::task::HighLevelActionUnit::getFeedback ( String  key  )  [inline]

Definition at line 166 of file HighLevelActionUnit.java.

int org::srs::srs_knowledge::task::HighLevelActionUnit::getNextCUActionIndex ( boolean  statusLastStep  )  [inline]
int org::srs::srs_knowledge::task::HighLevelActionUnit::getNumOfActions (  )  [inline]

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 178 of file HighLevelActionUnit.java.

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

Definition at line 179 of file HighLevelActionUnit.java.

Definition at line 72 of file HighLevelActionUnit.java.

Definition at line 71 of file HighLevelActionUnit.java.

Definition at line 184 of file HighLevelActionUnit.java.

Definition at line 182 of file HighLevelActionUnit.java.

Definition at line 185 of file HighLevelActionUnit.java.

Definition at line 73 of file HighLevelActionUnit.java.

Definition at line 180 of file HighLevelActionUnit.java.

Definition at line 181 of file HighLevelActionUnit.java.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


srs_knowledge
Author(s): Ze Ji
autogenerated on Tue Mar 5 21:11:25 2013