QScxmlInvokableServiceFactory

The QScxmlInvokableServiceFactory class creates invokable service instances. More

Inheritance diagram of PySide6.QtScxml.QScxmlInvokableServiceFactory

Inherited by: QScxmlStaticScxmlServiceFactory, QScxmlDynamicScxmlServiceFactory

Synopsis

Functions

Virtual functions

  • def invoke (parentStateMachine)

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
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

This property holds The InvokeInfo passed to the constructor..

PySide6.QtScxml.QScxmlInvokableServiceFactory.names()
Return type

This property holds The names passed to the constructor..

PySide6.QtScxml.QScxmlInvokableServiceFactory.parameters()
Return type

This property holds The parameters passed to the constructor..