Package edu.tufts.hrilab.action
Class ActionStack
java.lang.Object
edu.tufts.hrilab.action.ActionStack
The ActionStack stores the currently executed steps. It takes care of updating
the state machine and locks while hiding the low level implementation details.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ActionStack
Constructor- Parameters:
a
- an ActionInterpreter instance
-
-
Method Details
-
before
Adds a step to the action stack before execution- Parameters:
step
-
-
next
Gets the next step from the action stack- Returns:
- next step
-