QKnx3BitControlled Class

The QKnx3BitControlled class is a datapoint type with a control part. More...

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

Public Types

enum NumberOfIntervals { Break, One, Two, Four, ..., ThirtyTwo }

Public Functions

QKnx3BitControlled()
QKnx3BitControlled(bool control, NumberOfIntervals n)
bool controlBit() const
NumberOfIntervals numberOfIntervals() const
void setControlBit(bool control)
bool setNumberOfIntervals(NumberOfIntervals n)

Reimplemented Public Functions

virtual bool isValid() const override

Protected Functions

QKnx3BitControlled(int subType, bool control, NumberOfIntervals n)

Detailed Description

The QKnx3BitControlled class is a datapoint type with a control part.

This is a fixed size datapoint type with the length of 1 byte, though only 4 bits are used by the actual implementation.

Of the 4 bits, 3 bits are reserved for the step code and 1 bit for the control part.

See also QKnxDatapointType.

Member Type Documentation

enum QKnx3BitControlled::NumberOfIntervals

Member Function Documentation

QKnx3BitControlled::QKnx3BitControlled()

Default constructs an instance of QKnx3BitControlled.

QKnx3BitControlled::QKnx3BitControlled(bool control, NumberOfIntervals n)

Default constructs an instance of QKnx3BitControlled.

[protected] QKnx3BitControlled::QKnx3BitControlled(int subType, bool control, NumberOfIntervals n)

Default constructs an instance of QKnx3BitControlled.

bool QKnx3BitControlled::controlBit() const

See also setControlBit().

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

Reimplemented from QKnxDatapointType::isValid().

NumberOfIntervals QKnx3BitControlled::numberOfIntervals() const

See also setNumberOfIntervals().

void QKnx3BitControlled::setControlBit(bool control)

See also controlBit().

bool QKnx3BitControlled::setNumberOfIntervals(NumberOfIntervals n)

See also numberOfIntervals().

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