Qt World Summit: Register Today!


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