#include <executable_streamable_dfa.hh>
Inheritance diagram for mpcl::automaton::TExecutableStreamableDfa< TState, TEvent >:

Public Types | |
|
typedef TStreamableDfa< TState, TEvent >::char_type | char_type |
| Character type. | |
|
typedef TStreamableDfa< TState, TEvent >::traits_type | traits_type |
| Traits type. | |
Public Methods | |
| TExecutableStreamableDfa (TEventHandler< TEvent > &rtSOURCE_BASE_EVENT_HANDLER, TActionHandler< TState > &rtSOURCE_ACTION_HANDLER) | |
| void | move (const TState &rktSTATE) |
Protected Types | |
|
typedef TStreamableDfa< TState, TEvent >::TStringToStateMap | TStringToStateMap |
| Imports class 'TStringToStateMap'. | |
|
typedef TActionHandler< TState >::TActionNamesList | TActionNamesList |
| Imports class 'TActionNamesList'. | |
Protected Methods | |
| void | read (std::basic_istream< char_type, traits_type > &rtSOURCE_ISTREAM) |
| void | readActionList (TMatcher &rtSOURCE_MATCHER) |
| void | write (std::basic_ostream< char_type, traits_type > &rtTARGET_OSTREAM) const |
| void | writeActionList (std::basic_ostream< char_type, traits_type > &rtTARGET_OSTREAM) const |
Protected Attributes | |
| TActionHandler< TState > & | rtActionHandler |
| Action handler. | |
Definition at line 55 of file executable_streamable_dfa.hh.
|
||||||||||||||||
|
Builds a new instance without loading any DFAML document. This is due to that at this stage, it has no information about states nor events. Definition at line 98 of file executable_streamable_dfa.hh. |
|
||||||||||
|
Move to the state ktSTATE.
Reimplemented from mpcl::automaton::TDeterministicFiniteAutomaton< TState, TEvent >. Definition at line 107 of file executable_streamable_dfa.hh. References mpcl::automaton::TActionHandler< TState >::execute(). |
|
||||||||||
|
Loads the instance from stream rtSOURCE_ISTREAM.
Reimplemented from mpcl::automaton::TStreamableDfa< TState, TEvent >. Definition at line 173 of file executable_streamable_dfa.hh. References mpcl::automaton::TStreamableDfa< TState, TEvent >::check(), mpcl::automaton::TExecutableStreamableDfa< TState, TEvent >::readActionList(), mpcl::automaton::TStreamableDfa< TState, TEvent >::readFooter(), mpcl::automaton::TStreamableDfa< TState, TEvent >::readHeader(), mpcl::automaton::TStreamableDfa< TState, TEvent >::readTransitionTable(), mpcl::automaton::TDeterministicFiniteAutomaton< TState, TEvent >::tTransitionMap, and mpcl::automaton::TStreamableDfa< TState, TEvent >::yPublic. |
|
||||||||||
|
Reads action list using rtSOURCE_MATCHER for parsing.
Definition at line 205 of file executable_streamable_dfa.hh. References mpcl::text::Format(), mpcl::automaton::TExecutableStreamableDfa< TState, TEvent >::rtActionHandler, mpcl::automaton::TExecutableStreamableDfa< TState, TEvent >::TActionNamesList, mpcl::text::TString, and mpcl::automaton::TStreamableDfa< TState, TEvent >::tStringToStateMap. Referenced by mpcl::automaton::TExecutableStreamableDfa< TState, TEvent >::read(). |
|
||||||||||
|
Writes the instance onto stream rtTARGET_OSTREAM.
Reimplemented from mpcl::automaton::TStreamableDfa< TState, TEvent >. Definition at line 146 of file executable_streamable_dfa.hh. References mpcl::automaton::TExecutableStreamableDfa< TState, TEvent >::writeActionList(), mpcl::automaton::TStreamableDfa< TState, TEvent >::writeFooter(), mpcl::automaton::TStreamableDfa< TState, TEvent >::writeHeader(), and mpcl::automaton::TStreamableDfa< TState, TEvent >::writeTransitionTable(). |
|
||||||||||
|
Writes action list on stream rtTARGET_OSTREAM.
Definition at line 266 of file executable_streamable_dfa.hh. References mpcl::automaton::TExecutableStreamableDfa< TState, TEvent >::rtActionHandler, mpcl::automaton::TExecutableStreamableDfa< TState, TEvent >::TActionNamesList, and mpcl::automaton::TStreamableDfa< TState, TEvent >::tStringToStateMap. Referenced by mpcl::automaton::TExecutableStreamableDfa< TState, TEvent >::write(). |
1.2.18