이 페이지에서

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 `를 부모로 전달합니다. 호출 가능한 새 서비스를 반환합니다.

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