QKnxSceneInfo Class

The QKnxSceneInfo class is a datapoint type for scene information. More...

Header: #include <QKnxSceneInfo>
qmake: QT += knx
Inherits: QKnxFixedSizeDatapointType

Public Types

enum Info { Active, Inactive }

Public Functions

QKnxSceneInfo(quint8 sceneNumber, Info info)
Info info() const
quint8 sceneNumber() const
bool setInfo(Info info)
bool setSceneNumber(quint8 number)
bool setValue(quint8 sceneNumber, Info info)

Reimplemented Public Functions

virtual bool isValid() const override

Additional Inherited Members

Detailed Description

The QKnxSceneInfo class is a datapoint type for scene information.

This is a fixed size datapoint type with the length of 1 byte.

See also QKnxDatapointType.

Member Type Documentation

enum QKnxSceneInfo::Info

Member Function Documentation


Default constructs an instance of QKnxSceneInfo.

QKnxSceneInfo::QKnxSceneInfo(quint8 sceneNumber, Info info)

Default constructs an instance of QKnxSceneInfo.

Info QKnxSceneInfo::info() const

See also setInfo().

[override virtual] bool QKnxSceneInfo::isValid() const

quint8 QKnxSceneInfo::sceneNumber() const

See also setSceneNumber().

bool QKnxSceneInfo::setInfo(Info info)

See also info().

bool QKnxSceneInfo::setSceneNumber(quint8 number)

See also sceneNumber().

bool QKnxSceneInfo::setValue(quint8 sceneNumber, Info info)

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