An instance of this class maintains some internal state identifying the action it currently works on. It expects its methods to be called in a particular order, viz.
{@link #actionSetup(caltrop.interpreter.ast.Action) actionSetup(action)} --{@link #actionEvaluatePrecondition() actionEvaluatePrecondition()} --{@link #actionStep() actionStep()} -- {@link #actionComputeOutputs() actionComputeOutputs()}
During such a sequence, the methods operate on action n, which was selected by the call to {@link #actionSetup(caltrop.interpreter.ast.Action) actionSetup(action)}. At any point in time, the client may call {@link #actionClear() actionClear()}, which deselects the action and deletes the references to the resources used by the action environment created during setup.
@author Jörn W. Janneck
@version $Id: DataflowActorInterpreter.java,v 1.30 2007/12/06 18:28:24 cxh Exp $
@since Ptolemy II 4.0
@Pt.ProposedRating Red (cxh)
@Pt.AcceptedRating Red (cxh)
@see caltrop.interpreter.ast.Actor
@see caltrop.interpreter.ast.Action
@see #actionSetup
@see #actionEvaluatePrecondition
@see #actionStep
@see #actionComputeOutputs
@see #actionClear
|
|