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 QScxmlInvokableServiceFactory(invokeInfo, names, parameters[, parent=None])
Parameters
  • parentQObject

  • invokeInfoInvokeInfo

  • names

  • parameters

PySide2.QtScxml.QScxmlInvokableServiceFactory.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.

PySide2.QtScxml.QScxmlInvokableServiceFactory.invokeInfo()
Return type

InvokeInfo

PySide2.QtScxml.QScxmlInvokableServiceFactory.names()
Return type

PySide2.QtScxml.QScxmlInvokableServiceFactory.parameters()
Return type