本页内容

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

详细描述

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

成员函数文档

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

重写了:QScxmlInvokableServiceFactory::invoke (QScxmlStateMachine *parentStateMachine)。

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