QScxmlInvokableServiceFactory#
The QScxmlInvokableServiceFactory
class creates invokable service instances. More…
Inherited by: QScxmlStaticScxmlServiceFactory, QScxmlDynamicScxmlServiceFactory
Synopsis#
Properties#
invokeInfo
- QScxmlExecutableContent::InvokeInfo passed to the constructornames
- Passed to the constructorparameters
- Passed to the constructor
Functions#
def
invokeInfo
()def
names
()def
parameters
()
Virtual functions#
def
invoke
(parentStateMachine)
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
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 – .list of int
parameters – .list of QScxmlExecutableContent.ParameterInfo
invokeInfo –
PySide6.QtScxml.QScxmlExecutableContent.InvokeInfo
parent –
PySide6.QtCore.QObject
Note
Properties can be used directly when from __feature__ import true_property
is used or via accessor functions otherwise.
- property PᅟySide6.QtScxml.QScxmlInvokableServiceFactory.invokeInfo: PySide6.QtScxml.QScxmlExecutableContent.InvokeInfo#
This property holds The InvokeInfo
passed to the constructor..
- Access functions:
invokeInfo
()
- property PᅟySide6.QtScxml.QScxmlInvokableServiceFactory.names: list of int#
This property holds The names passed to the constructor..
- Access functions:
names
()
- property PᅟySide6.QtScxml.QScxmlInvokableServiceFactory.parameters: list of QScxmlExecutableContent.ParameterInfo#
This property holds The parameters passed to the constructor..
- Access functions:
parameters
()
- 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()#
- Return type:
Getter of property invokeInfo
.
- PySide6.QtScxml.QScxmlInvokableServiceFactory.names()#
- Return type:
.list of int
Getter of property names
.
- PySide6.QtScxml.QScxmlInvokableServiceFactory.parameters()#
- Return type:
Getter of property parameters
.