QKnx4ByteUnsignedValue Class

The QKnx4ByteUnsignedValue class is a datapoint type with a 4-byte unsigned value. More...

Header: #include <QKnx4ByteUnsignedValue>
qmake: QT += knx
Inherits: QKnxFixedSizeDatapointType
Inherited By:

QKnxValue4UCount

Public Functions

QKnx4ByteUnsignedValue(quint32 value)
QKnx4ByteUnsignedValue()
bool setValue(quint32 value)
quint32 value() const

Reimplemented Public Functions

virtual bool isValid() const override

Protected Functions

QKnx4ByteUnsignedValue(int subType, quint32 value)

Detailed Description

This is a fixed size datapoint type with the length of 4 bytes.

Integer values from 0 to 4 294 967 295 can be encoded in this datapoint type.

See also QKnxDatapointType and Qt KNX Datapoint Type Classes.

Member Function Documentation

[protected] QKnx4ByteUnsignedValue::QKnx4ByteUnsignedValue(int subType, quint32 value)

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

QKnx4ByteUnsignedValue::QKnx4ByteUnsignedValue(quint32 value)

Creates a fixed size datapoint type with the value value.

QKnx4ByteUnsignedValue::QKnx4ByteUnsignedValue()

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

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

Reimplements: QKnxDatapointType::isValid() const.

bool QKnx4ByteUnsignedValue::setValue(quint32 value)

Sets the value of the datapoint type to value.

If the value is outside the allowed range, returns false and does not set the value.

See also value().

quint32 QKnx4ByteUnsignedValue::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.