QKnx1Byte Class

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

Public Functions

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

Reimplemented Public Functions

virtual bool isValid() const override

Protected Functions

QKnx1Byte(int subType, quint8 value)

Detailed Description

This datapoint type encodes an absolute value between 0 and 255.

See also QKnxDatapointType and Qt KNX Datapoint Type Classes.

Member Function Documentation

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

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

QKnx1Byte::QKnx1Byte(quint8 value)

Creates a fixed size datapoint type with the value value.

QKnx1Byte::QKnx1Byte()

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

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

Reimplements: QKnxDatapointType::isValid() const.

bool QKnx1Byte::setValue(quint8 value)

Sets the byte stored in the datapoint type to value.

Returns true if the byte was set; otherwise returns false.

See also value().

quint8 QKnx1Byte::value() const

Returns the value stored in the datapoint type.

See also setValue().

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