QIviServiceObject Class
Provides the connection point to a Backend Service. More...
Header: | #include <QIviServiceObject> |
qmake: | QT += ivicore |
Inherits: | QObject and QIviServiceInterface |
Inherited By: |
Properties
- id : const QString
Public Functions
QIviServiceObject(QObject *parent = nullptr) | |
virtual QString | id() const |
Detailed Description
QIviServiceObject provides you with a list of interfaces that the Backend implements.
Use interfaceInstance() to obtain a QObject that implements this interface. The interface returned may contain signals that a Feature implementing this interface needs to be connected to.
See also QIviAbstractFeature.
Property Documentation
id : const QString
This property holds a unique ID for the service object instance.
Each service object has a unique ID. When subclassing, the id() function can be overloaded to modify how this ID is generated.
Access functions:
virtual QString | id() const |
Member Function Documentation
QIviServiceObject::QIviServiceObject(QObject *parent = nullptr)
Constructor.
parent is passed on to QObject.
[virtual]
QString QIviServiceObject::id() const
The id() function can be overloaded to modify how the unique ID is generated, for use by this service object.
By default, QUuid::createUuid() is used.
Note: Getter function for property id.