The QScxmlStaticScxmlServiceFactory class creates SCXML service instances from precompiled documents. 更多...
头: | #include <QScxmlStaticScxmlServiceFactory> |
CMake: |
find_package(Qt6 COMPONENTS Scxml REQUIRED)
target_link_libraries(mytarget PRIVATE Qt6::Scxml) |
qmake: | QT += scxml |
Since: | Qt 5.8 |
继承: | 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).