QKnxEntranceAccess Class

The QKnxEntranceAccess is a datapoint type for the entrance access. More...

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

Public Types

enum Attribute { Error, PermissionAccepted, ReadRightToLeft, Encrypted }
flags Attributes

Public Functions

QKnxEntranceAccess(quint32 idCode, Attributes attributes, quint8 index)
Attributes attributes() const
qint8 digit(quint8 x) const
qint32 idCode() const
quint8 index() const
bool isSet(Attribute attibute) const
bool removeAttribute(Attribute attribute)
bool setAttribute(Attribute attribute)
bool setAttributes(Attributes attributes)
bool setDigit(quint8 x, quint8 digit)
bool setIdCode(quint32 idCode)
bool setIndex(quint8 index)
bool setValue(quint32 idCode, Attributes attributes, quint8 index)

Reimplemented Public Functions

virtual bool isValid() const override

Additional Inherited Members

Detailed Description

The QKnxEntranceAccess is a datapoint type for the entrance access.

A fixed size datapoint type with the length of 4 bytes that controls the entrance access.

See also QKnxDatapointType.

Member Type Documentation

enum QKnxEntranceAccess::Attribute
flags QKnxEntranceAccess::Attributes

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

Member Function Documentation


Default constructs an instance of QKnxEntranceAccess.

QKnxEntranceAccess::QKnxEntranceAccess(quint32 idCode, Attributes attributes, quint8 index)

Default constructs an instance of QKnxEntranceAccess.

Attributes QKnxEntranceAccess::attributes() const

See also setAttributes().

qint8 QKnxEntranceAccess::digit(quint8 x) const

See also setDigit().

qint32 QKnxEntranceAccess::idCode() const

See also setIdCode().

quint8 QKnxEntranceAccess::index() const

See also setIndex().

bool QKnxEntranceAccess::isSet(Attribute attibute) const

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

bool QKnxEntranceAccess::removeAttribute(Attribute attribute)

bool QKnxEntranceAccess::setAttribute(Attribute attribute)

bool QKnxEntranceAccess::setAttributes(Attributes attributes)

See also attributes().

bool QKnxEntranceAccess::setDigit(quint8 x, quint8 digit)

See also digit().

bool QKnxEntranceAccess::setIdCode(quint32 idCode)

See also idCode().

bool QKnxEntranceAccess::setIndex(quint8 index)

See also index().

bool QKnxEntranceAccess::setValue(quint32 idCode, Attributes attributes, quint8 index)

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