|
| void | action () override |
| | transition does nothing
|
| |
| bool | enabled () override |
| | evaluate if the transition is enabled using the condition function, and the state of its parent will wait for all of its parent to be enabled if synchronize is true
|
| |
|
| Node (const std::pmr::vector< Node * > &parent={}, const std::pmr::vector< Node * > &child={}) |
| |
| void | addChild (Node *child) |
| | attach a child node to the current node
|
| |
|
|
std::function< bool()> | condition = {} |
| | std::function pointing toward a function returning true if the condition for the transition to be enabled is realized
|
| |
|
bool | isTransition = false |
| | true if the current node is a transition
|
| |
|
bool | synchronize = false |
| | true if the current node needs to wait for all its parent to be enabled before executing
|
| |
|
bool | active = false |
| | true if the node is currently active
|
| |
|
|
std::pmr::vector< Node * > | parent = {} |
| | List of parents node of the current node.
|
| |
|
std::pmr::vector< Node * > | children = {} |
| | List of children node of the current node.
|
| |
|
friend | StateMachine |
| |
◆ action()
| void Grafcet::Transition::action |
( |
| ) |
|
|
inlineoverridevirtual |
◆ enabled()
| bool Grafcet::Transition::enabled |
( |
| ) |
|
|
inlineoverridevirtual |
evaluate if the transition is enabled using the condition function, and the state of its parent will wait for all of its parent to be enabled if synchronize is true
- Renvoie
- true if the transition is enabled
Implémente Grafcet::Node.
La documentation de cette classe a été générée à partir du fichier suivant :