QIviServiceObject Class

QIviServiceObject is the connection point to a Backend Service. More...

Header: #include <QIviServiceObject>
qmake: QT += ivicore
Inherits: QObject and QIviServiceInterface
Inherited By:

QIviMediaDevice

Properties

  • id : const QString
  • 1 property inherited from QObject

Public Functions

QIviServiceObject(QObject *parent = nullptr)
~QIviServiceObject()
virtual QString id() const

Additional Inherited Members

  • 1 public slot inherited from QObject
  • 2 signals inherited from QObject
  • 1 public variable inherited from QObject
  • 10 static public members inherited from QObject
  • 9 protected functions inherited from QObject
  • 2 protected variables inherited from QObject

Detailed Description

QIviServiceObject is the connection point to a Backend Service.

QIviServiceObject provides you with a list of interfaces the Backend implements.

By using interfaceInstance() a QObject implementing this interface will be returned. The returned interface can contain signals that need to be connected to by the Feature implementing this interface.

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 control the generation of the ID.

Access functions:

virtual QString id() const

Member Function Documentation

QIviServiceObject::QIviServiceObject(QObject *parent = nullptr)

Constructor.

parent is passed on to QObject.

QIviServiceObject::~QIviServiceObject()

Destructor.

[virtual] QString QIviServiceObject::id() const

The id() function can be overloaded to control the generation of the unique ID used by this service object.

By default, QUuid::createUuid() is used.

Note: Getter function for property id.

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