In what order are transitions tested in a state machine?



  • In a QStateMachine, is the order that transitions are checked defined? I have written some test routines and it looks like transitions are tested (bool QAbstractTransition::eventTest(QEvent*) in the order in which they are added to their state. Is this always true? If so it would reduce the complexity of implementing the transition guards.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.