QScxmlInvokableService Class
The QScxmlInvokableService class is the base class for services called from state machines. More...
| Header: | #include <QScxmlInvokableService> |
| qmake: | QT += scxml |
| Since: | Qt 5.8 |
| Inherits: | QObject |
This class was introduced in Qt 5.8.
Properties
- id : const QString
- name : const QString
- parentStateMachine : QScxmlStateMachine* const
- 1 property inherited from QObject
Public Functions
| virtual QString | id() const = 0 |
| virtual QString | name() const = 0 |
| QScxmlStateMachine * | parentStateMachine() const |
- 16 public functions inherited from QObject
Related Non-Members
| typedef | QObjectList |
Macros
| QT_NO_NARROWING_CONVERSIONS_IN_CONNECT | |
| Q_CLASSINFO(Name, Value) | |
| Q_DISABLE_COPY(Class) | |
| Q_DISABLE_COPY_MOVE(Class) | |
| Q_DISABLE_MOVE(Class) | |
| Q_EMIT | |
| Q_ENUM(...) | |
| Q_ENUM_NS(...) | |
| Q_FLAG(...) | |
| Q_FLAG_NS(...) | |
| Q_GADGET | |
| Q_INTERFACES(...) | |
| Q_INVOKABLE | |
| Q_NAMESPACE | |
| Q_OBJECT | |
| Q_PROPERTY(...) | |
| Q_REVISION | |
| Q_SET_OBJECT_NAME(Object) | |
| Q_SIGNAL | |
| Q_SIGNALS | |
| Q_SLOT | |
| Q_SLOTS |
Additional Inherited Members
- 1 public slot inherited from QObject
- 1 signal inherited from QObject
- 5 static public members inherited from QObject
- 8 protected functions inherited from QObject
Detailed Description
The services are called from state machines via the mechanism described in SCXML Specification - 6.4 <invoke>. This class represents an actual instance of an invoked service.
Property Documentation
id : const QString
This property holds the ID of the invokable service.
The ID is specified by the id attribute of the <invoke> element.
Access functions:
| virtual QString | id() const = 0 |
name : const QString
This property holds the name of the service being invoked.
Access functions:
| virtual QString | name() const = 0 |
parentStateMachine : QScxmlStateMachine* const
This property holds the SCXML state machine that invoked the service.
Access functions:
| QScxmlStateMachine * | parentStateMachine() const |