class QScxmlInvokableServiceFactory

The QScxmlInvokableServiceFactory class creates invokable service instances. More

Inheritance diagram of PySide6.QtScxml.QScxmlInvokableServiceFactory

Inherited by: QScxmlStaticScxmlServiceFactory, QScxmlDynamicScxmlServiceFactory

Synopsis

Properties

Methods

Virtual 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

Each service instance represents an <invoke> element in the SCXML document. Each time the service is actually invoked, a new instance of QScxmlInvokableService is created.

Note

Properties can be used directly when from __feature__ import true_property is used or via accessor functions otherwise.

property invokeInfoᅟ: InvokeInfo

This property holds The InvokeInfo passed to the constructor..

Access functions:
property namesᅟ: list of int

This property holds The names passed to the constructor..

Access functions:
property parametersᅟ: list of QScxmlExecutableContent.ParameterInfo

This property holds The parameters passed to the constructor..

Access functions:
__init__(invokeInfo, names, parameters[, parent=None])
Parameters:
  • invokeInfoInvokeInfo

  • names – .list of int

  • parameters – .list of QScxmlExecutableContent.ParameterInfo

  • parentQObject

abstract invoke(parentStateMachine)
Parameters:

parentStateMachineQScxmlStateMachine

Return type:

QScxmlInvokableService

Invokes the service with the parameters given in the constructor, passing parentStateMachine as the parent. Returns the new invokable service.

invokeInfo()
Return type:

InvokeInfo

Getter of property invokeInfoᅟ .

names()
Return type:

.list of int

Getter of property namesᅟ .

parameters()
Return type:

.list of QScxmlExecutableContent.ParameterInfo

Getter of property parametersᅟ .