The QScxmlInvokableServiceFactory class creates invokable service instances. More...
| Header: | #include <QScxmlInvokableServiceFactory> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Scxml)target_link_libraries(mytarget PRIVATE Qt6::Scxml) |
| qmake: | QT += scxml |
| Inherits: | QObject |
| Inherited By: |
QScxmlDynamicScxmlServiceFactory and QScxmlStaticScxmlServiceFactory |
| virtual QScxmlInvokableService * | invoke(QScxmlStateMachine *parentStateMachine) = 0 |
| const QScxmlExecutableContent::InvokeInfo & | invokeInfo() const |
| const QList<QScxmlExecutableContent::StringId> & | names() const |
| const QList<QScxmlExecutableContent::ParameterInfo> & | parameters() const |
Each service instance represents an <invoke> element in the SCXML document. Each time the service is actually invoked, a new instance of QScxmlInvokableService is created.
[read-only] invokeInfo : const QScxmlExecutableContent::InvokeInfoThis property holds the QScxmlExecutableContent::InvokeInfo passed to the constructor.
Access functions:
| const QScxmlExecutableContent::InvokeInfo & | invokeInfo() const |
[read-only] names : const QList<QScxmlExecutableContent::StringId>This property holds the names passed to the constructor.
Access functions:
| const QList<QScxmlExecutableContent::StringId> & | names() const |
[read-only] parameters : const QList<QScxmlExecutableContent::ParameterInfo>This property holds the parameters passed to the constructor.
Access functions:
| const QList<QScxmlExecutableContent::ParameterInfo> & | parameters() const |
[pure virtual] QScxmlInvokableService
*QScxmlInvokableServiceFactory::invoke(QScxmlStateMachine *parentStateMachine)Invokes the service with the parameters given in the constructor, passing parentStateMachine as the parent. Returns the new invokable service.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: