QScxmlInvokableServiceFactory

The QScxmlInvokableServiceFactory class creates invokable service instances. More

Inheritance diagram of PySide2.QtScxml.QScxmlInvokableServiceFactory

Inherited by: QScxmlDynamicScxmlServiceFactory, QScxmlStaticScxmlServiceFactory

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 PySide2.QtScxml.QScxmlInvokableServiceFactory(invokeInfo, names, parameters[, parent=None])
Parameters
PySide2.QtScxml.QScxmlInvokableServiceFactory.invoke(parentStateMachine)
Parameters

parentStateMachinePySide2.QtScxml.QScxmlStateMachine

Return type

PySide2.QtScxml.QScxmlInvokableService

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

PySide2.QtScxml.QScxmlInvokableServiceFactory.invokeInfo()
Return type

PySide2.QtScxml.InvokeInfo

This property holds The InvokeInfo passed to the constructor..

PySide2.QtScxml.QScxmlInvokableServiceFactory.names()
Return type

This property holds The names passed to the constructor..

PySide2.QtScxml.QScxmlInvokableServiceFactory.parameters()
Return type

This property holds The parameters passed to the constructor..