PySide6.QtScxml.QScxmlInvokableServiceFactory¶
- class QScxmlInvokableServiceFactory¶
- The - QScxmlInvokableServiceFactoryclass creates invokable service instances. More…- Inherited by: - QScxmlStaticScxmlServiceFactory,- QScxmlDynamicScxmlServiceFactory- Synopsis¶- Properties¶- invokeInfoᅟ- QScxmlExecutableContent::InvokeInfo passed to the constructor
- namesᅟ- Passed to the constructor
- parametersᅟ- 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 of- QScxmlInvokableServiceis created.- Note - Properties can be used directly when - from __feature__ import true_propertyis used or via accessor functions otherwise.- property invokeInfoᅟ: InvokeInfo¶
 - This property holds The - InvokeInfopassed 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 - parentStateMachineas the parent. Returns the new invokable service.- invokeInfo()¶
- Return type:
 
 - Getter of property - invokeInfoᅟ.- names()¶
- Return type:
- .list of int 
 
 - Getter of property - namesᅟ.- parameters()¶
- Return type:
 
 - Getter of property - parametersᅟ.