QKnx1Byte Class

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

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)

Additional Inherited Members

Detailed Description

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

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

See also QKnxDatapointType and Qt KNX Datapoint Type Classes.

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.

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

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

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

Reimplemented from QKnxDatapointType::isValid().

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().

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