FsmTransition::FsmTransition |
( |
const std::shared_ptr< FsmNode > |
source, |
|
|
const std::shared_ptr< FsmNode > |
target, |
|
|
const FsmLabel & |
label |
|
) |
| |
Create a FsmTransition
- Parameters
-
source | The node from which the transition come |
target | The node where the transition go |
label | The label of this transition |
FsmLabel FsmTransition::getLabel |
( |
| ) |
const |
Getter for the label
- Returns
- The label of this transition
std::shared_ptr< FsmNode > FsmTransition::getSource |
( |
| ) |
const |
Getter for the source
- Returns
- The node from which the transition come
std::shared_ptr< FsmNode > FsmTransition::getTarget |
( |
| ) |
const |
Getter for the target
- Returns
- The node where the transition go
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const FsmTransition & |
transition |
|
) |
| |
|
friend |
Output the FsmTransition to a standard output stream
- Parameters
-
out | The standard output stream to use |
transition | The FsmTransition to print |
- Returns
- The standard output stream used, to allow user to cascade <<
The documentation for this class was generated from the following files:
- /Users/janpeleska/SharedFoldersWin/fsmlib-cpp/src/fsm/FsmTransition.h
- /Users/janpeleska/SharedFoldersWin/fsmlib-cpp/src/fsm/FsmTransition.cpp