QScxmlStaticScxmlServiceFactory Class

QScxmlStaticScxmlServiceFactory 类从预编译文档中创建 SCXML 服务实例。更多

头文件: #include <QScxmlStaticScxmlServiceFactory>
CMake: find_package(Qt6 REQUIRED COMPONENTS Scxml)
target_link_libraries(mytarget PRIVATE Qt6::Scxml)
qmake: QT += scxml
继承: QScxmlInvokableServiceFactory

重新实现的公共函数

virtual QScxmlInvokableService *invoke(QScxmlStateMachine *parentStateMachine) override

详细说明

用于从编译时已知的文件(即通过<invoke> 中的src 属性指定的文件)实例化 SCXML 状态机的工厂。

成员函数文档

[override virtual] QScxmlInvokableService *QScxmlStaticScxmlServiceFactory::invoke(QScxmlStateMachine *parentStateMachine)

重实现:QScxmlInvokableServiceFactory::invoke(QScxmlStateMachine *parentStateMachine).

© 2025 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.