QKnx1Byte Class

The QKnx1Byte class is a fixed size datapoint type with the length of 1 byte. More...

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

Public Functions

QKnx1Byte()
QKnx1Byte(quint8 value)
bool setValue(quint8 value)
quint8 value() const

Reimplemented Public Functions

virtual bool isValid() const override

Protected Functions

QKnx1Byte(int subType, quint8 value)

Detailed Description

The QKnx1Byte class is a fixed size datapoint type with the length of 1 byte.

See also QKnxDatapointType.

Member Function Documentation

QKnx1Byte::QKnx1Byte()

Creates a fixed size datapoint type with the value set to 0.

QKnx1Byte::QKnx1Byte(quint8 value)

Creates a fixed size datapoint type with the value value.

The range for the value is from 0 to 255.

[protected] QKnx1Byte::QKnx1Byte(int subType, quint8 value)

Creates a fixed size datapoint with the subtype subType and the value value.

The range for the value is from 0 to 255.

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

Reimplemented from QKnxDatapointType::isValid().

bool QKnx1Byte::setValue(quint8 value)

Sets the value of the datapoint type to value.

See also value().

quint8 QKnx1Byte::value() const

Returns the value stored in the datapoint type.

See also setValue().

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