Spec-Zone.ru › Qt 6.1

Класс QScxmlInvokableServiceFactory

Класс QScxmlInvokableServiceFactory создаёт экземпляры вызываемых сервисов. Подробнее...

Заголовок: #include <QScxmlInvokableServiceFactory>
CMake: find_package(Qt6 COMPONENTS Scxml REQUIRED) target_link_libraries(mytarget PRIVATE Qt6::Scxml)
qmake: QT += scxml
С момента: Qt 5.8
Наследуется от: 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

Подробное описание

Каждый экземпляр сервиса представляет элемент <invoke> в документе SCXML. Каждый раз, когда сервис фактически вызывается, создаётся новый экземпляр 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 как родительский. Возвращает новый вызываемый сервис.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.1/qscxmlinvokableservicefactory.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API