PySide6.QtScxml.QScxmlInvokableServiceFactory¶
- class 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
Methods¶
def
__init__()
def
invokeInfo()
def
names()
def
parameters()
Virtual methods¶
def
invoke()
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 ofQScxmlInvokableService
is created.Note
Properties can be used directly when
from __feature__ import true_property
is used or via accessor functions otherwise.- property invokeInfoᅟ: InvokeInfo¶
This property holds The
InvokeInfo
passed to the constructor..- Access functions:
- property namesᅟ: list of int¶
This property holds The names passed to the constructor..
- Access functions:
- property parametersᅟ: list of QScxmlExecutableContent.ParameterInfo¶
This property holds The parameters passed to the constructor..
- Access functions:
- __init__(invokeInfo, names, parameters[, parent=None])¶
- Parameters:
invokeInfo –
InvokeInfo
names – .list of int
parameters – .list of QScxmlExecutableContent.ParameterInfo
parent –
QObject
- abstract invoke(parentStateMachine)¶
- Parameters:
parentStateMachine –
QScxmlStateMachine
- Return type:
Invokes the service with the parameters given in the constructor, passing
parentStateMachine
as the parent. Returns the new invokable service.- invokeInfo()¶
- Return type:
InvokeInfo
Getter of property
invokeInfoᅟ
.- names()¶
- Return type:
.list of int
Getter of property
namesᅟ
.- parameters()¶
- Return type:
.list of QScxmlExecutableContent.ParameterInfo
Getter of property
parametersᅟ
.