QKnx32BitSet Class

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

头: #include <QKnx32BitSet>
qmake: QT += knx
继承: QKnxFixedSizeDatapointType
继承者:

QKnxCombinedInfoOnOff

公共函数

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

保护函数

QKnx32BitSet (int subType , quint32 value )

详细描述

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

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

There is only one class inheriting QKnx32BitSet: QKnxCombinedInfoOnOff .

另请参阅 QKnxDatapointType and Qt KNX Datapoint Type Classes .

成员函数文档编制

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

返回 true if the value was set; otherwise returns false .

另请参阅 value ().

quint32 QKnx32BitSet:: value () const

Returns the value stored in the datapoint type.

另请参阅 setValue ().