Qt SCXML C++ 类

提供从 SCXML 文件创建和使用状态机的类。 更多...

名称空间

QScxmlExecutableContent 包含用于解释状态机可执行内容的各种类型

QScxmlCompiler 用于 SCXML 文件的编译器
QScxmlCompiler::Loader URI resolver and resource loader for an SCXML compiler
QScxmlCppDataModel C++ data model for a Qt SCXML state machine
QScxmlDataModel The data model base class for a Qt SCXML state machine
QScxmlDataModel::ForeachLoopBody Represents a function to be executed on each iteration of an SCXML foreach loop
QScxmlDynamicScxmlServiceFactory Creates SCXML service instances from documents loaded at runtime
QScxmlError Describes the errors returned by the Qt SCXML state machine when parsing an SCXML file
QScxmlEvent Event for a Qt SCXML state machine
QScxmlExecutableContent::AssignmentInfo AssingmentInfo class represents a data assignment
QScxmlExecutableContent::EvaluatorInfo Represents a unit of executable content
QScxmlExecutableContent::ForeachInfo Represents a foreach construct
QScxmlExecutableContent::InvokeInfo Represents a service invocation
QScxmlExecutableContent::ParameterInfo Represents a parameter to a service invocation
QScxmlInvokableService The base class for services called from state machines
QScxmlInvokableServiceFactory Creates invokable service instances
QScxmlNullDataModel The null data model for a Qt SCXML stateMachine
QScxmlStateMachine Interface to the state machines created from SCXML files
QScxmlStaticScxmlServiceFactory Creates SCXML service instances from precompiled documents
QScxmlTableData Used by compiled state machines

详细描述

To use the module with cmake, use the find_package() 命令定位所需模块组件在 Qt6 包:

find_package(Qt6 REQUIRED COMPONENTS Scxml)
target_link_libraries(mytarget PRIVATE Qt6::Scxml)
					

To configure the module for building with qmake, add the module as a value of the QT variable in the project's .pro file:

QT += scxml
					

更多信息,见 实例化状态机 .