QKnxActuatorConnectType Class

The QKnxActuatorConnectType class is a datapoint type for storing the actuator connection type. More...

Header: #include <QKnxActuatorConnectType>
qmake: QT += knx
Inherits: QKnx1Byte

Public Types

enum Type { SensorConnection, ControllerConnection, Invalid }

Public Functions

QKnxActuatorConnectType()
QKnxActuatorConnectType(QKnxActuatorConnectType::Type type)
bool setType(QKnxActuatorConnectType::Type type)
QKnxActuatorConnectType::Type type() const

Additional Inherited Members

Detailed Description

The QKnxActuatorConnectType class is a datapoint type for storing the actuator connection type.

An actuator can be connected to a sensor or a controller.

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

See also QKnxDatapointType, QKnx1Byte, and Qt KNX Datapoint Type Classes.

Member Type Documentation

enum QKnxActuatorConnectType::Type

This enum holds the actuator connection type stored in the datapoint type.

ConstantValueDescription
QKnxActuatorConnectType::SensorConnection0x01The actuator is connected to a sensor.
QKnxActuatorConnectType::ControllerConnection0x02The actuator is connected to a controller.
QKnxActuatorConnectType::Invalid0xffThe value is invalid.

Member Function Documentation

QKnxActuatorConnectType::QKnxActuatorConnectType()

Creates a fixed size datapoint type with the actuator connection type set to SensorConnection.

QKnxActuatorConnectType::QKnxActuatorConnectType(QKnxActuatorConnectType::Type type)

Creates a fixed size datapoint type with the actuator connection type set to type.

bool QKnxActuatorConnectType::setType(QKnxActuatorConnectType::Type type)

Sets the actuator connection type stored in the datapoint type to type.

Returns true if the byte was set; otherwise returns false.

See also type().

QKnxActuatorConnectType::Type QKnxActuatorConnectType::type() const

Returns the actuator connection type stored in the datapoint type.

See also setType().

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