Qt SCXML C++ Classes
提供从 SCXML 文件创建和使用状态机的类。更多
命名空间
包含用于解释状态机中可执行内容的各种类型 |
类
SCXML 文件编译器 | |
SCXML 编译器的 URI 解析器和资源加载器 | |
Qt SCXML 状态机的 C++ 数据模型 | |
Qt SCXML 状态机的数据模型基类 | |
代表在 SCXML foreach 循环的每次迭代中执行的函数 | |
从运行时加载的文档中创建 SCXML 服务实例 | |
描述Qt SCXML 状态机在解析 SCXML 文件时返回的错误 | |
Qt SCXML 状态机的事件 | |
AssingmentInfo 类表示数据分配 | |
代表一个可执行内容单元 | |
代表一个foreach 结构 | |
代表服务调用 | |
代表服务调用的参数 | |
从状态机调用服务的基类 | |
创建可调用的服务实例 | |
Qt SCXML 状态机的空数据模型 | |
从 SCXML 文件创建的状态机接口 | |
从预编译文件创建 SCXML 服务实例 | |
被编译的状态机使用 |
详细说明
要在 cmake 中使用该模块,可使用find_package()
命令在Qt6
包中找到所需的模块组件:
find_package(Qt6 REQUIRED COMPONENTS Scxml) target_link_libraries(mytarget PRIVATE Qt6::Scxml)
要配置模块以便用 qmake 构建,可在项目的 .pro 文件中将模块添加为QT
变量的值:
QT += scxml
更多信息,请参阅实例化状态机。
© 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.