On this page
QScxmlInvokableServiceFactory Class
The QScxmlInvokableServiceFactory class creates invokable service instances. More...
| Header: | #include <QScxmlInvokableServiceFactory> | 
| CMake: | find_package(Qt6 COMPONENTS Scxml REQUIRED) target_link_libraries(mytarget PRIVATE Qt6::Scxml) | 
| qmake: | QT += scxml | 
| Since: | Qt 5.8 | 
| Inherits: | QObject | 
| Inherited By: | QScxmlDynamicScxmlServiceFactory and QScxmlStaticScxmlServiceFactory  | 
     
Properties
- invokeInfo : const QScxmlExecutableContent::InvokeInfo
 - names : const QList<QScxmlExecutableContent::StringId>
 - parameters : const QList<QScxmlExecutableContent::ParameterInfo>
 
Public Functions
| virtual QScxmlInvokableService * | invoke(QScxmlStateMachine *parentStateMachine) = 0 | 
| const QScxmlExecutableContent::InvokeInfo & | invokeInfo() const | 
| const QList<QScxmlExecutableContent::StringId> & | names() const | 
| const QList<QScxmlExecutableContent::ParameterInfo> & | parameters() const | 
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.
Property Documentation
[read-only] invokeInfo : const QScxmlExecutableContent::InvokeInfo
   This property holds the QScxmlExecutableContent::InvokeInfo passed to the constructor.
Access functions:
| const QScxmlExecutableContent::InvokeInfo & | invokeInfo() const | 
[read-only] names : const QList<QScxmlExecutableContent::StringId>
   This property holds the names passed to the constructor.
Access functions:
| const QList<QScxmlExecutableContent::StringId> & | names() const | 
[read-only] parameters : const QList<QScxmlExecutableContent::ParameterInfo>
   This property holds the parameters passed to the constructor.
Access functions:
| const QList<QScxmlExecutableContent::ParameterInfo> & | parameters() const | 
Member Function Documentation
[pure virtual] QScxmlInvokableService *QScxmlInvokableServiceFactory::invoke(QScxmlStateMachine *parentStateMachine)
  Invokes the service with the parameters given in the constructor, passing parentStateMachine as the parent. Returns the new invokable service.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
 https://doc.qt.io/qt-6.2/qscxmlinvokableservicefactory.html