Hi, >I would expect this to work with the machine itself (which is >a state) instead of a base state as well. But in my tests it >doesn't... Maybe checking whether the "root state" is treated >specially by >addTransition() or the transition "dispatching" algorithm.
It wouldn't work from the machine itself, because transitions cause the source state to exit, and the root state can't exit. So a base state (child of root, parent of the rest) with a transition would probably be the best option. Note that all of the algorithm specifcs can be found in http://www.w3.org/TR/scxml/ - the <scxml> root element can't have a <transition> child for this exact reason :) Cheers No'am > > >Cheers, > >-- >Caio Marcelo de Oliveira Filho >OpenBossa - INdT >_______________________________________________ >Qt4-preview-feedback mailing list >[email protected] >http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback > _______________________________________________ Qt4-preview-feedback mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback
