The QScxmlStaticScxmlServiceFactory class creates SCXML service instances from precompiled documents. 更多...
头: | #include <QScxmlStaticScxmlServiceFactory> |
qmake: | QT += scxml |
Since: | Qt 5.8 |
继承: | QScxmlInvokableServiceFactory |
QScxmlStaticScxmlServiceFactory (const QMetaObject * metaObject , const QScxmlExecutableContent::InvokeInfo & invokeInfo , const QVector<QScxmlExecutableContent::StringId> & nameList , const QVector<QScxmlExecutableContent::ParameterInfo> & 参数 , QObject * parent = nullptr) |
virtual QScxmlInvokableService * | invoke (QScxmlStateMachine * parentStateMachine ) override |
const QMetaObject | staticMetaObject |
The QScxmlStaticScxmlServiceFactory class creates SCXML service instances from precompiled documents.
A factory for instantiating SCXML state machines from files known at compile time, that is, files specified via the
src
attribute in
<invoke>
.
Default constructs an instance of QScxmlStaticScxmlServiceFactory.
[override virtual]
QScxmlInvokableService
*QScxmlStaticScxmlServiceFactory::
invoke
(
QScxmlStateMachine
*
parentStateMachine
)