内容表

上一话题

QScxmlInvokableService

下一话题

QScxmlNullDataModel

QScxmlInvokableServiceFactory

QScxmlInvokableServiceFactory class creates invokable service instances. 更多 …

Inheritance diagram of PySide2.QtScxml.QScxmlInvokableServiceFactory

继承者: QScxmlDynamicScxmlServiceFactory , QScxmlStaticScxmlServiceFactory

概要

函数

虚函数

详细描述

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 , 参数 [ , parent=None ] )
参数
  • parent – QObject

  • invokeInfo – InvokeInfo

  • names –

  • 参数 –

PySide2.QtScxml.QScxmlInvokableServiceFactory. invoke ( parentStateMachine )
参数

parentStateMachine – QScxmlStateMachine

返回类型

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 ( )
返回类型

InvokeInfo

PySide2.QtScxml.QScxmlInvokableServiceFactory. names ( )
返回类型

PySide2.QtScxml.QScxmlInvokableServiceFactory. 参数 ( )
返回类型