QIviServiceInterface Class

Interface class for services. More...

Header: #include <QIviServiceInterface>
qmake: QT += ivicore
Inherited By:

QIviServiceObject

Public Functions

virtual ~QIviServiceInterface()
virtual QIviFeatureInterface *interfaceInstance(const QString &interface) const = 0
virtual QStringList interfaces() const = 0

Detailed Description

Interface class for services.

The QIviServiceInterface class defines the interface of services registered with QIviServiceManager.

Commonly, service objects inherit the concrete class QIviServiceObject instead of using QIviServiceInterface directly.

See also QIviServiceObject.

Member Function Documentation

[virtual] QIviServiceInterface::~QIviServiceInterface()

Destructs the QIviServiceInterface instance.

[pure virtual] QIviFeatureInterface *QIviServiceInterface::interfaceInstance(const QString &interface) const

Returns an object implementing the service interface requested through interface.

[pure virtual] QStringList QIviServiceInterface::interfaces() const

Returns a list of service interface names supported by the service object instance.

© 2018 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.