QKnxStatusMode3 Class

The QKnxStatusMode3 class is a datapoint type for a status mode 3. More...

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

Public Types

enum Mode { Zero, One, Two, Unknown }
enum Status { A, B, C, D, E }
flags StatusFlags

Public Functions

QKnxStatusMode3()
QKnxStatusMode3(Mode mode, StatusFlags statusFlags)
bool isSet(Status status) const
Mode mode() const
bool removeStatus(Status status)
bool setMode(Mode mode)
bool setStatus(Status status)
bool setStatusFlags(StatusFlags statusFlags)
StatusFlags statusFlags() const

Reimplemented Public Functions

virtual bool isValid() const override

Additional Inherited Members

Detailed Description

The QKnxStatusMode3 class is a datapoint type for a status mode 3.

This is a fixed size datapoint type with the length of 1 byte.

See also QKnxDatapointType.

Member Type Documentation

enum QKnxStatusMode3::Mode

enum QKnxStatusMode3::Status
flags QKnxStatusMode3::StatusFlags

The StatusFlags type is a typedef for QFlags<Status>. It stores an OR combination of Status values.

Member Function Documentation

QKnxStatusMode3::QKnxStatusMode3()

Default constructs an instance of QKnxStatusMode3.

QKnxStatusMode3::QKnxStatusMode3(Mode mode, StatusFlags statusFlags)

Default constructs an instance of QKnxStatusMode3.

bool QKnxStatusMode3::isSet(Status status) const

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

Mode QKnxStatusMode3::mode() const

See also setMode().

bool QKnxStatusMode3::removeStatus(Status status)

bool QKnxStatusMode3::setMode(Mode mode)

See also mode().

bool QKnxStatusMode3::setStatus(Status status)

bool QKnxStatusMode3::setStatusFlags(StatusFlags statusFlags)

See also statusFlags().

StatusFlags QKnxStatusMode3::statusFlags() const

See also setStatusFlags().

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