QScxmlStaticScxmlServiceFactory Class

The QScxmlStaticScxmlServiceFactory class creates SCXML service instances from precompiled documents. 更多...

头: #include <QScxmlStaticScxmlServiceFactory>
CMake: find_package(Qt6 REQUIRED COMPONENTS Scxml)
target_link_libraries(mytarget PRIVATE Qt6::Scxml)
qmake: QT += scxml
继承: QScxmlInvokableServiceFactory

重实现公共函数

virtual QScxmlInvokableService * invoke (QScxmlStateMachine * parentStateMachine ) override

详细描述

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

成员函数文档编制

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

重实现: QScxmlInvokableServiceFactory::invoke (QScxmlStateMachine *parentStateMachine).