DiaDes
0.1
DIAgnosis of Discrete-Event System
|
#include <TransitionInserter.hh>
Public Types | |
using | StateInserter = _StateInserter |
using | EventInserter = _EventInserter |
using | Fsm = typename StateInserter::Fsm |
using | Transition = typename Fsm::Transition |
using | State = typename Fsm::State |
Public Member Functions | |
TransitionInserter ()=default | |
TransitionInserter (TransitionInserter const &other)=default | |
TransitionInserter & | operator= (TransitionInserter const &other)=default |
TransitionInserter (TransitionInserter &&other)=default | |
TransitionInserter & | operator= (TransitionInserter &&other)=default |
~TransitionInserter ()=default | |
TransitionInserter (StateInserter &sInserter, EventInserter &eInserter) | |
const Fsm & | source () const |
Fsm & | target () |
Transition | insertTransition (Transition t) |
State | insertState (State state) |
Private Attributes | |
Diades::Utils::Ptr< StateInserter >::P | _sInserter |
Diades::Utils::Ptr< EventInserter >::P | _eInserter |
A TransitionInserter is in charge of inserting transitions into a target fsm from a source fsm. The source and target fsms are the ones defined in the StateInserter. The event associated to transitions are managed by the corresponding EventInserter. Please ensure that the source/target fsms of the stateinserter are the ones of the eventinserter.
Definition at line 28 of file TransitionInserter.hh.
using Diades::Automata::Experimental::TransitionInserter< _StateInserter, _EventInserter >::EventInserter = _EventInserter |
Definition at line 32 of file TransitionInserter.hh.
using Diades::Automata::Experimental::TransitionInserter< _StateInserter, _EventInserter >::Fsm = typename StateInserter::Fsm |
Definition at line 33 of file TransitionInserter.hh.
using Diades::Automata::Experimental::TransitionInserter< _StateInserter, _EventInserter >::State = typename Fsm::State |
Definition at line 35 of file TransitionInserter.hh.
using Diades::Automata::Experimental::TransitionInserter< _StateInserter, _EventInserter >::StateInserter = _StateInserter |
Definition at line 31 of file TransitionInserter.hh.
using Diades::Automata::Experimental::TransitionInserter< _StateInserter, _EventInserter >::Transition = typename Fsm::Transition |
Definition at line 34 of file TransitionInserter.hh.
|
default |
Default constructor
|
default |
Copy constructor (default)
other |
|
default |
Move constructor (default)
other |
|
default |
Destructor
|
inline |
build a TransitionInserter based on a StateInserter and an EventInserter
sInserter | a StateInserter that inserts State to target() based on State from source() |
eInserter | an EventInserter that inserts Event to target() based on Event from source() |
Definition at line 92 of file TransitionInserter.hh.
|
inline |
state | a State from the source fsm |
call
insertState of the StateInserter Definition at line 139 of file TransitionInserter.hh.
Referenced by Diades::Automata::Experimental::TransitionInserter< _StateInserter, _EventInserter >::insertTransition().
|
inline |
t | a Transition from the source fsm |
Definition at line 125 of file TransitionInserter.hh.
References Diades::Automata::Experimental::TransitionInserter< _StateInserter, _EventInserter >::insertState(), Diades::Automata::Experimental::TransitionInserter< _StateInserter, _EventInserter >::source(), and Diades::Automata::Experimental::TransitionInserter< _StateInserter, _EventInserter >::target().
|
default |
|
default |
Move assignement (default)
other |
|
inline |
Definition at line 103 of file TransitionInserter.hh.
Referenced by Diades::Automata::Experimental::TransitionInserter< _StateInserter, _EventInserter >::insertTransition().
|
inline |
Definition at line 114 of file TransitionInserter.hh.
Referenced by Diades::Automata::Experimental::TransitionInserter< _StateInserter, _EventInserter >::insertTransition().
|
private |
Definition at line 45 of file TransitionInserter.hh.
|
private |
Definition at line 41 of file TransitionInserter.hh.