QKnx32BitSet Class

The QKnx32BitSet class is a datapoint type with the 32-bit set. More...

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

QKnxCombinedInfoOnOff

Public Functions

QKnx32BitSet(quint32 value)
QKnx32BitSet()
bool setValue(quint32 value)
quint32 value() const

Protected Functions

QKnx32BitSet(int subType, quint32 value)

Detailed Description

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

The acceptable values are No bits set (0x00) and All bits set (0xffffffff).

There is only one class inheriting QKnx32BitSet: QKnxCombinedInfoOnOff.

See also QKnxDatapointType and Qt KNX Datapoint Type Classes.

Member Function Documentation

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

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

QKnx32BitSet::QKnx32BitSet(quint32 value)

Creates a fixed size datapoint type with the value value.

QKnx32BitSet::QKnx32BitSet()

Creates a fixed size datapoint type with the 32-bit set to 0.

bool QKnx32BitSet::setValue(quint32 value)

Sets the value of the datapoint type to value.

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

See also value().

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