CRINSA-team2025 V1
Documentation du Club Robot INSA Rennes 2025
Chargement...
Recherche...
Aucune correspondance
Référence de la classe Grafcet::Transition
Graphe d'héritage de Grafcet::Transition:
Graphe de collaboration de Grafcet::Transition:

Fonctions membres publiques

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
 
- Fonctions membres publiques hérités de Grafcet::Node
 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
 

Attributs publics

std::function< bool()> condition = {}
 std::function pointing toward a function returning true if the condition for the transition to be enabled is realized
 
- Attributs publics hérités de Grafcet::Node
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
 

Membres hérités additionnels

- Attributs protégés hérités de Grafcet::Node
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
 

Documentation des fonctions membres

◆ action()

void Grafcet::Transition::action ( )
inlineoverridevirtual

transition does nothing

Implémente Grafcet::Node.

◆ 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 :