| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
An Interpreter for hsm data structures.
It is able to handle to flow of control of a given hierarchical state machine.
The interpreter itself has a number of internal states of operation:
run() will resume the interpretation.
 
| Method Summary | |
|  Context | getContext()Returns the context that is associated with the interpreted state machine. | 
|  CompositeState | getRoot()Returns the root state of the state machine that is being processed. | 
|  void | run()Runs the interpretation of the state machine. | 
|  void | setContext(Context context)Initializes the context that will be associated with all actions of the interpreted state machine. | 
|  void | shutdown()Signals the interpreter that it should stop the interpretation as soon as possible. | 
|  void | suspend()Signals the interpreter that it should suspend the interpretation as soon as possible. | 
| Methods inherited from interface de.fhg.igd.jhsm.EventListener | 
| eventReceived | 
| Method Detail | 
public void suspend()
public void shutdown()
public void run()
run in interface Runnablepublic void setContext(Context context)
The context does not necessarily have to be set. There are cases in which a global context is not needed. However, if the context is set, it must remain fixed!
context - The context that will be associated with all actions.public Context getContext()
public CompositeState getRoot()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||