QScxmlInvokableServiceFactory Class
Die Klasse „QScxmlInvokableServiceFactory“ erstellt aufrufbare Dienstinstanzen. Mehr...
| Header: | #include <QScxmlInvokableServiceFactory> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Scxml) target_link_libraries(mytarget PRIVATE Qt6::Scxml) |
| qmake: | QT += scxml |
| Erbt von: | QObject |
| Vererbt an: | QScxmlDynamicScxmlServiceFactory und QScxmlStaticScxmlServiceFactory |
Eigenschaften
- invokeInfo : const QScxmlExecutableContent::InvokeInfo
- names : const QList<QScxmlExecutableContent::StringId>
- parameters : const QList<QScxmlExecutableContent::ParameterInfo>
Öffentliche Funktionen
| virtual QScxmlInvokableService * | invoke(QScxmlStateMachine *parentStateMachine) = 0 |
| const QScxmlExecutableContent::InvokeInfo & | invokeInfo() const |
| const QList<QScxmlExecutableContent::StringId> & | names() const |
| const QList<QScxmlExecutableContent::ParameterInfo> & | parameters() const |
Ausführliche Beschreibung
Jede Service-Instanz repräsentiert ein „ <invoke> “-Element im SCXML-Dokument. Bei jedem tatsächlichen Aufruf des Services wird eine neue Instanz von „ QScxmlInvokableService “ erstellt.
Dokumentation der Eigenschaften
[read-only] invokeInfo : const QScxmlExecutableContent::InvokeInfo
Diese Eigenschaft enthält das an den Konstruktor übergebene „ QScxmlExecutableContent::InvokeInfo “.
Zugriffsfunktionen:
| const QScxmlExecutableContent::InvokeInfo & | invokeInfo() const |
[read-only] names : const QList<QScxmlExecutableContent::StringId>
Diese Eigenschaft enthält die an den Konstruktor übergebenen Namen.
Zugriffsfunktionen:
| const QList<QScxmlExecutableContent::StringId> & | names() const |
[read-only] parameters : const QList<QScxmlExecutableContent::ParameterInfo>
Diese Eigenschaft enthält die an den Konstruktor übergebenen Parameter.
Zugriffsfunktionen:
| const QList<QScxmlExecutableContent::ParameterInfo> & | parameters() const |
Dokumentation zu den Member-Funktionen
[pure virtual] QScxmlInvokableService *QScxmlInvokableServiceFactory::invoke(QScxmlStateMachine *parentStateMachine)
Ruft den Dienst mit den im Konstruktor angegebenen Parametern auf und übergibt dabei „ parentStateMachine “ als übergeordneten Dienst. Gibt den neuen aufrufbaren Dienst zurück.
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.