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