- Qt 6.11
- Qt SCXML
- C++ Classes
- QScxmlStaticScxmlServiceFactory
- Qt 6.11.2 Reference Documentation

# QScxmlStaticScxmlServiceFactory Class

The QScxmlStaticScxmlServiceFactory class creates SCXML service instances from precompiled documents. More...

Header: | `#include <QScxmlStaticScxmlServiceFactory>`
CMake: | `find_package(Qt6 REQUIRED COMPONENTS Scxml)` `target_link_libraries(mytarget PRIVATE Qt6::Scxml)`
qmake: | `QT += scxml`
Inherits: | QScxmlInvokableServiceFactory

- List of all members, including inherited members

## Reimplemented Public Functions

virtual QScxmlInvokableService * | invoke(QScxmlStateMachine *parentStateMachine) override

## Detailed Description

A factory for instantiating SCXML state machines from files known at compile time, that is, files specified via the `src` attribute in `<invoke>`.

## Member Function Documentation

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

Reimplements: QScxmlInvokableServiceFactory::invoke(QScxmlStateMachine *parentStateMachine).