QScxmlInvokableServiceFactory#
The QScxmlInvokableServiceFactory
class creates invokable service instances. More…
Inherited by: QScxmlStaticScxmlServiceFactory, QScxmlDynamicScxmlServiceFactory
Synopsis#
Functions#
def
invokeInfo
()def
names
()def
parameters
()
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
names –
parameters –
invokeInfo –
PySide6.QtScxml.QScxmlExecutableContent.InvokeInfo
parent –
PySide6.QtCore.QObject
- abstract PySide6.QtScxml.QScxmlInvokableServiceFactory.invoke(parentStateMachine)#
- Parameters
parentStateMachine –
PySide6.QtScxml.QScxmlStateMachine
- Return type
Invokes the service with the parameters given in the constructor, passing parentStateMachine
as the parent. Returns the new invokable service.
- PySide6.QtScxml.QScxmlInvokableServiceFactory.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..