QScxmlStaticScxmlServiceFactory Class

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

成员函数文档编制

QScxmlStaticScxmlServiceFactory:: QScxmlStaticScxmlServiceFactory (const QMetaObject * metaObject , const QScxmlExecutableContent::InvokeInfo & invokeInfo , const QVector < QScxmlExecutableContent::StringId > & nameList , const QVector < QScxmlExecutableContent::ParameterInfo > & 参数 , QObject * parent = nullptr)

Default constructs an instance of QScxmlStaticScxmlServiceFactory.

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

重实现自 QScxmlInvokableServiceFactory::invoke ().