Qt SCXML C++ Classes

Provides classes to create and use state machines from SCXML files. More...

Namespaces

QScxmlExecutableContent

Contains various types used to interpret executable content in state machines

Classes

QScxmlCompiler

Compiler for SCXML files

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

Detailed Description

To include the definitions of the module's classes, use the following directive:

 #include <QScxmlStateMachine>

To use the module with cmake, use the find_package() command to locate the needed module components in the Qt6 package:

 find_package(Qt6 COMPONENTS Scxml REQUIRED)
 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

For more information, see Instantiating State Machines.