QScxmlInvokableServiceFactory Class
A classe QScxmlInvokableServiceFactory cria instâncias de serviços invocáveis. Mais...
| Cabeçalho: | #include <QScxmlInvokableServiceFactory> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Scxml) target_link_libraries(mytarget PRIVATE Qt6::Scxml) |
| qmake: | QT += scxml |
| Herdado de: | QObject |
| Herdado por: | QScxmlDynamicScxmlServiceFactory e QScxmlStaticScxmlServiceFactory |
Propriedades
- invokeInfo : const QScxmlExecutableContent::InvokeInfo
- names : const QList<QScxmlExecutableContent::StringId>
- parameters : const QList<QScxmlExecutableContent::ParameterInfo>
Funções públicas
| virtual QScxmlInvokableService * | invoke(QScxmlStateMachine *parentStateMachine) = 0 |
| const QScxmlExecutableContent::InvokeInfo & | invokeInfo() const |
| const QList<QScxmlExecutableContent::StringId> & | names() const |
| const QList<QScxmlExecutableContent::ParameterInfo> & | parameters() const |
Descrição detalhada
Cada instância do serviço representa um elemento ` <invoke> ` no documento SCXML. Cada vez que o serviço é efetivamente chamado, uma nova instância de ` QScxmlInvokableService ` é criada.
Documentação das propriedades
[read-only] invokeInfo : const QScxmlExecutableContent::InvokeInfo
Esta propriedade armazena o objeto ` QScxmlExecutableContent::InvokeInfo ` passado ao construtor.
Funções de acesso:
| const QScxmlExecutableContent::InvokeInfo & | invokeInfo() const |
[read-only] names : const QList<QScxmlExecutableContent::StringId>
Essa propriedade armazena os nomes passados ao construtor.
Funções de acesso:
| const QList<QScxmlExecutableContent::StringId> & | names() const |
[read-only] parameters : const QList<QScxmlExecutableContent::ParameterInfo>
Essa propriedade armazena os parâmetros passados ao construtor.
Funções de acesso:
| const QList<QScxmlExecutableContent::ParameterInfo> & | parameters() const |
Documentação das funções de membro
[pure virtual] QScxmlInvokableService *QScxmlInvokableServiceFactory::invoke(QScxmlStateMachine *parentStateMachine)
Chama o serviço com os parâmetros fornecidos no construtor, passando ` parentStateMachine ` como pai. Retorna o novo serviço invocável.
© 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.