QScxmlInvokableServiceFactory#

The QScxmlInvokableServiceFactory class creates invokable service instances. More

Inheritance diagram of PySide6.QtScxml.QScxmlInvokableServiceFactory

Inherited by: QScxmlStaticScxmlServiceFactory, QScxmlDynamicScxmlServiceFactory

Synopsis#

Properties#

  • invokeInfo - QScxmlExecutableContent::InvokeInfo passed to the constructor

  • names - Passed to the constructor

  • parameters - Passed to the constructor

Functions#

Virtual functions#

  • def invoke (parentStateMachine)

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.

class PySide6.QtScxml.QScxmlInvokableServiceFactory(invokeInfo, names, parameters[, parent=None])#
Parameters:

Note

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

property PᅟySide6.QtScxml.QScxmlInvokableServiceFactory.invokeInfo: PySide6.QtScxml.QScxmlExecutableContent.InvokeInfo#

This property holds The InvokeInfo passed to the constructor..

Access functions:
property PᅟySide6.QtScxml.QScxmlInvokableServiceFactory.names#

This property holds The names passed to the constructor..

Access functions:
property PᅟySide6.QtScxml.QScxmlInvokableServiceFactory.parameters#

This property holds The parameters passed to the constructor..

Access functions:
abstract PySide6.QtScxml.QScxmlInvokableServiceFactory.invoke(parentStateMachine)#
Parameters:

parentStateMachinePySide6.QtScxml.QScxmlStateMachine

Return type:

PySide6.QtScxml.QScxmlInvokableService

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

PySide6.QtScxml.QScxmlInvokableServiceFactory.invokeInfo()#
Return type:

PySide6.QtScxml.QScxmlExecutableContent.InvokeInfo

Getter of property invokeInfo .

PySide6.QtScxml.QScxmlInvokableServiceFactory.names()#
Return type:

Getter of property names .

PySide6.QtScxml.QScxmlInvokableServiceFactory.parameters()#
Return type:

Getter of property parameters .