Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-9380

It would be useful if QStateMachine had a signal to notify about configuration changes

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P3: Somewhat important
    • 5.2.0
    • None
    • Core: State Machine
    • None

    Description

      Currently there is no centralized mechanism for being notified of state changes; you'll have to do something like inherit QAbstract

      {State,Transition}

      , reimplement on

      {Entry,Exit,Transition}

      and only use those custom states in your state machine.
      If QStateMachine had a signal for this, custom states would not be necessary. The signal could e.g. be used to create a "trace" of the state machine's execution, by recording the configuration at each step.

      Attachments

        Issue Links

          Activity

            People

              cmarcelo Caio Marcelo de Oliveira Filho
              kenthans Kent Hansen (Inactive)
              Votes:
              13 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated: