QScxmlInvokableServiceFactory Class
The QScxmlInvokableServiceFactory class creates invokable service instances. More...
Header: | #include <QScxmlInvokableServiceFactory> |
qmake: | QT += scxml |
Since: | Qt 5.8 |
Inherits: | QObject |
Inherited By: | QScxmlDynamicScxmlServiceFactory and QScxmlStaticScxmlServiceFactory |
This class was introduced in Qt 5.8.
Properties
- invokeInfo : const QScxmlExecutableContent::InvokeInfo
- names : const QVector<QScxmlExecutableContent::StringId>
- parameters : const QVector<QScxmlExecutableContent::ParameterInfo>
- 1 property inherited from QObject
Public Functions
virtual QScxmlInvokableService * | invoke(QScxmlStateMachine *parentStateMachine) = 0 |
const QScxmlExecutableContent::InvokeInfo & | invokeInfo() const |
const QVector<QScxmlExecutableContent::StringId> & | names() const |
const QVector<QScxmlExecutableContent::ParameterInfo> & | parameters() const |
- 30 public functions inherited from QObject
Related Non-Members
typedef | QObjectList |
QList<T> | qFindChildren(const QObject *obj, const QRegExp ®Exp) |
T | qobject_cast(QObject *object) |
T | qobject_cast(const QObject *object) |
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
- 2 signals inherited from QObject
- 9 static public members inherited from QObject
- 9 protected functions inherited from QObject
Detailed Description
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.
Property Documentation
invokeInfo : const QScxmlExecutableContent::InvokeInfo
This property holds the QScxmlExecutableContent::InvokeInfo passed to the constructor.
Access functions:
const QScxmlExecutableContent::InvokeInfo & | invokeInfo() const |
names : const QVector<QScxmlExecutableContent::StringId>
This property holds the names passed to the constructor.
Access functions:
const QVector<QScxmlExecutableContent::StringId> & | names() const |
parameters : const QVector<QScxmlExecutableContent::ParameterInfo>
This property holds the parameters passed to the constructor.
Access functions:
const QVector<QScxmlExecutableContent::ParameterInfo> & | parameters() const |
Member Function Documentation
[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.