QKnxVariableSizeDatapointType Class

The QKnxVariableSizeDatapointType is a base class for datapoint types with a variable size. 更多...

头: #include <QKnxVariableSizeDatapointType>
qmake: QT += knx
继承: QKnxDatapointType
继承者:

QKnxUtf8String and QKnxVarString

公共函数

QKnxVariableSizeDatapointType (quint16 mainType , quint16 subType , int size )
QKnxVariableSizeDatapointType (const QString & dptId , int size )
QKnxVariableSizeDatapointType (QKnxDatapointType::Type type , int size )

重实现公共函数

virtual bool setBytes (const QKnxByteArray & bytesToSet , quint16 index , quint16 count ) override

详细描述

另请参阅 Type .

成员函数文档编制

QKnxVariableSizeDatapointType:: QKnxVariableSizeDatapointType ( quint16 mainType , quint16 subType , int size )

Creates a variable size datapoint type with the main type mainType , subtype subType , and the size size .

QKnxVariableSizeDatapointType:: QKnxVariableSizeDatapointType (const QString & dptId , int size )

Creates a variable size datapoint type with the identifier dptId and the size size .

QKnxVariableSizeDatapointType:: QKnxVariableSizeDatapointType ( QKnxDatapointType::Type type , int size )

Creates a variable size datapoint type with the type type and the size size .

[override virtual] bool QKnxVariableSizeDatapointType:: setBytes (const QKnxByteArray & bytesToSet , quint16 index , quint16 count )

重实现: QKnxDatapointType::setBytes (const QKnxByteArray &bytesToSet, quint16 index, quint16 count).