Defines the interface for services. More...
|qmake:||QT += ivicore|
|virtual QIviFeatureInterface *||interfaceInstance(const QString &interfaceName) const = 0|
|virtual QStringList||interfaces() const = 0|
The QIviServiceInterface class defines the interface for services registered with QIviServiceManager.
Typically, service objects inherit the concrete class, QIviServiceObject, instead of using QIviServiceInterface directly.
See also QIviServiceObject.
Member Function Documentation
Destructs the QIviServiceInterface instance.
[pure virtual] QIviFeatureInterface *QIviServiceInterface::interfaceInstance(const QString &interfaceName) const
Returns an object implementing the service interface requested through interfaceName.
Returns a list of service interface names supported by the service object instance.
Casts the given backend to the interface type T.
When implementing a QtIvi Feature, use this function as it shows a meaningful error message when the cast fails.
See also qobject_cast.
© 2020 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.