Home |
The QtScriptedStateMachine class provides a way to use scripting with the Qt State Machine Framework. More...
#include <QtScriptedStateMachine>
Inherits QtStateMachine.
Note: All the functions in this class are reentrant.
The QtScriptedStateMachine class provides a way to use scripting with the Qt State Machine Framework.
Though can be used alone, QtScriptedStateMachine is mainly a runtime helper to using the state-machine framework with SCXML files.
See also QtStateMachine.
The url used to resolve scripts and invoke urls.
Access functions:
Creates a new QtScriptedStateMachine object, with parent parent.
This signal is emitted when external event name is handled in the state machine.
Executes script s in the attached script engine. If the script fails, a "error.illegalvalue" event is posted to the state machine.
Loads a state machine from an scxml file located at filename, with parent object o.
Posts a QtScriptedEvent named event, with no payload.
See also QtScriptedEvent.
Enabled invoker factory f to be called from <invoke /> tags.
Registers object o to the script engine attached to the state machine. The object can be accessible from global variable name. If name is not provided, the object's name is used. If recursive is true, all the object's decendants are registered as global objects, with their respective object names as variable names.
Returns the script engine attached to the state-machine.
Copyright © 2009 Nokia | Trademarks | Qt Solutions |