本页内容

QScxmlExecutableContent::InvokeInfo Struct

struct QScxmlExecutableContent::InvokeInfo

InvokeInfo 类表示一次服务调用。更多内容...

头文件: #include <qscxmlexecutablecontent.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS Scxml)
target_link_libraries(mytarget PRIVATE Qt6::Scxml)
qmake: QT += scxml

公共变量

bool autoforward
QScxmlExecutableContent::StringId context
QScxmlExecutableContent::EvaluatorId expr
QScxmlExecutableContent::ContainerId finalize
QScxmlExecutableContent::StringId id
QScxmlExecutableContent::StringId location
QScxmlExecutableContent::StringId prefix

详细说明

成员变量文档

bool InvokeInfo::autoforward

该变量用于控制是否应将事件自动转发至被调用的服务

QScxmlExecutableContent::StringId InvokeInfo::context

该变量保存了用于解释该位置的上下文,位于

QScxmlExecutableContent::EvaluatorId InvokeInfo::expr

该变量存储表示 invoke 元素的 srcexpr 的表达式

QScxmlExecutableContent::ContainerId InvokeInfo::finalize

该变量保存了在调用结束时要运行的可执行内容容器的 ID

QScxmlExecutableContent::StringId InvokeInfo::id

该变量存储了<invoke> 元素中id 属性所指定的ID。

QScxmlExecutableContent::StringId InvokeInfo::location

该变量存储用于写入调用 ID 的数据模型位置

QScxmlExecutableContent::StringId InvokeInfo::prefix

该变量存储了在调用该变量的状态上下文中,此次调用所对应的唯一前缀

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