QKnxElectricalEnergy Class

The QKnxElectricalEnergy class is a datapoint type for electrical energy. More...

Header: #include <QKnxElectricalEnergy>
qmake: QT += knx
Inherits: QKnxFixedSizeDatapointType

Public Functions

QKnxElectricalEnergy()
QKnxElectricalEnergy(qint64 value)
bool setValue(qint64 value)
qint64 value() const

Reimplemented Public Functions

virtual bool isValid() const override

Protected Functions

QKnxElectricalEnergy(int subType, qint64 value)

Detailed Description

The QKnxElectricalEnergy class is a datapoint type for electrical energy.

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

See also QKnxDatapointType.

Member Function Documentation

QKnxElectricalEnergy::QKnxElectricalEnergy()

Default constructs an instance of QKnxElectricalEnergy.

QKnxElectricalEnergy::QKnxElectricalEnergy(qint64 value)

Default constructs an instance of QKnxElectricalEnergy.

[protected] QKnxElectricalEnergy::QKnxElectricalEnergy(int subType, qint64 value)

Default constructs an instance of QKnxElectricalEnergy.

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

bool QKnxElectricalEnergy::setValue(qint64 value)

See also value().

qint64 QKnxElectricalEnergy::value() const

See also setValue().

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