QScxmlInvokableServiceFactory Class
QScxmlInvokableServiceFactory クラスは、呼び出し可能なサービスインスタンスを作成します。詳細...
ヘッダ | #include <QScxmlInvokableServiceFactory> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Scxml) target_link_libraries(mytarget PRIVATE Qt6::Scxml) |
qmake: | QT += scxml |
を継承する: | QObject |
によって継承される: | QScxmlDynamicScxmlServiceFactory そしてQScxmlStaticScxmlServiceFactory |
プロパティ
- invokeInfo : const QScxmlExecutableContent::InvokeInfo
- names : const QList<QScxmlExecutableContent::StringId>
- parameters : const QList<QScxmlExecutableContent::ParameterInfo>
パブリック機能
virtual QScxmlInvokableService * | invoke(QScxmlStateMachine *parentStateMachine) = 0 |
const QScxmlExecutableContent::InvokeInfo & | invokeInfo() const |
const QList<QScxmlExecutableContent::StringId> & | names() const |
const QList<QScxmlExecutableContent::ParameterInfo> & | parameters() const |
詳細説明
各サービスインスタンスは SCXML ドキュメント内の<invoke>
要素を表します。サービスが実際に呼び出されるたびに、QScxmlInvokableService の新しいインスタンスが生成されます。
プロパティの説明
[read-only]
invokeInfo : const QScxmlExecutableContent::InvokeInfo
このプロパティは、コンストラクタに渡されたQScxmlExecutableContent::InvokeInfo を保持する。
アクセス関数:
const QScxmlExecutableContent::InvokeInfo & | invokeInfo() const |
[read-only]
names : const QList<QScxmlExecutableContent::StringId>
このプロパティは、コンストラクタに渡される名前を保持します。
アクセス関数:
const QList<QScxmlExecutableContent::StringId> & | names() const |
[read-only]
parameters : const QList<QScxmlExecutableContent::ParameterInfo>
このプロパティは、コンストラクタに渡されるパラメータを保持します。
関数にアクセスします:
const QList<QScxmlExecutableContent::ParameterInfo> & | parameters() const |
メンバ関数ドキュメント
[pure virtual]
QScxmlInvokableService *QScxmlInvokableServiceFactory::invoke(QScxmlStateMachine *parentStateMachine)
parentStateMachine を親として、コンストラクタで指定されたパラメータでサービスを呼び出します。新しい呼び出し可能なサービスを返します。
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.