![]() |
appkit
1.5.1
RoadNarrows Robotics Application Kit
|
Start state event class. More...
Public Member Functions | |
| StateStart () | |
| Constuctor. | |
| virtual | ~StateStart () |
| Destructor. | |
| virtual void | actionEnterState (int nPrefStateId, int nEventId) |
| Execute 'enter state' action. More... | |
Public Member Functions inherited from State2_3Turing | |
| State2_3Turing (int nStateId, const std::string &strStateName="", const std::string &strRefTag="") | |
| Initializatoin constuctor. More... | |
| virtual | ~State2_3Turing () |
| Destructor. | |
| int | readSymbol () |
| void | writeSymbol (int sym) |
| void | moveHeadLeft () |
| Move head left one position on the tape. | |
| void | moveHeadRight () |
| Move head right one position on the tape. | |
| void | showTape () |
| Show colorized tape to stdout. | |
Additional Inherited Members | |
Static Public Attributes inherited from State2_3Turing | |
| static vector< int > | Tape |
| the tape of symbols More... | |
| static int | Head |
| the tape read/write head | |
Start state event class.
The start state is not part of the "official" (2,3) Turing Machine. Rather it is used to (re)initize the tape and then transition to the A state.
|
inlinevirtual |
Execute 'enter state' action.
| nPrevStateId | Previous state id. |
| nEventId | Received event id. |
Definition at line 375 of file ut-sm.cxx.
References EventIdSymbol.