PySide6.QtScxml.QScxmlDynamicScxmlServiceFactory¶
- class QScxmlDynamicScxmlServiceFactory¶
The
QScxmlDynamicScxmlServiceFactory
class creates SCXML service instances from documents loaded at runtime. More…Synopsis¶
Methods¶
def
__init__()
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
Detailed Description¶
Dynamically resolved services are used when loading SCXML content from files that a parent state machine requests at runtime, via the
srcexpr
attribute in the<invoke>
element.- __init__(invokeInfo, names, parameters[, parent=None])¶
- Parameters:
invokeInfo –
InvokeInfo
names – .list of int
parameters – .list of QScxmlExecutableContent.ParameterInfo
parent –
QObject
Creates a factory for dynamically resolved services, passing the attributes of the
<invoke>
element asinvokeInfo
, any<param>
child elements asparameters
, the content of thenames
attribute asnames
, and the QObject parentparent
.