class QScxmlDynamicScxmlServiceFactory

The QScxmlDynamicScxmlServiceFactory class creates SCXML service instances from documents loaded at runtime. More

Inheritance diagram of PySide6.QtScxml.QScxmlDynamicScxmlServiceFactory

Synopsis

Methods

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:
  • invokeInfoInvokeInfo

  • names – .list of int

  • parameters – .list of QScxmlExecutableContent.ParameterInfo

  • parentQObject

Creates a factory for dynamically resolved services, passing the attributes of the <invoke> element as invokeInfo, any <param> child elements as parameters, the content of the names attribute as names, and the QObject parent parent.