QKnxInterfaceObjectType Class

This class holds information about the type of the KNX interface object. More...

Header: #include <QKnxInterfaceObjectType>
qmake: QT += knx

Public Types

enum Application { Hvac, Lightning, IndoorBrightnessSensor, IndoorLuminanceSensor, ..., WhiteGoods2 }
enum NonStandardized { First, Last }
enum System { Device, GroupAddressTable, AssociationTable, ApplicationProgram, ..., RfMedium }

Public Functions

QKnxInterfaceObjectType(int objectType)
operator int() const
QKnxInterfaceObjectType &operator=(int objectType)

Static Public Members

bool isMatch(QKnxInterfaceObjectType type, QKnxInterfaceObjectProperty property)
bool isObjectType(QKnxInterfaceObjectType type)

Detailed Description

This class holds information about the type of the KNX interface object.

KNX interface objects hold information about the device functionalities. The interface object can be of different types, covering different functionalities. The different interface object type are listed here. For every interface object, this type is always stored in the QKnxInterfaceObjectProperty::ObjectType. This is the first property of the interface object.

Member Type Documentation

enum QKnxInterfaceObjectType::Application

This enum describes the ranges of types of interface object dedicated to application.

ConstantValue
QKnxInterfaceObjectType::Hvac0x64
QKnxInterfaceObjectType::Lightning0x190
QKnxInterfaceObjectType::IndoorBrightnessSensor0x199
QKnxInterfaceObjectType::IndoorLuminanceSensor0x19a
QKnxInterfaceObjectType::LightSwitchingActuatorBasic0x1a1
QKnxInterfaceObjectType::DimmingActuatorBasic0x1a2
QKnxInterfaceObjectType::DimmingSensorBasic0x1a4
QKnxInterfaceObjectType::SwitchingSensorBasic0x1a5
QKnxInterfaceObjectType::SensorsAndActuators0x258
QKnxInterfaceObjectType::ShuttersAndBlinds0x320
QKnxInterfaceObjectType::FociS0x3e8
QKnxInterfaceObjectType::Metering0x44d
QKnxInterfaceObjectType::OpenTherm0x4b0
QKnxInterfaceObjectType::ApplicationReserved0x4e2
QKnxInterfaceObjectType::WhiteGoods0xdac
QKnxInterfaceObjectType::ApplicationReserved20xed8
QKnxInterfaceObjectType::WhiteGoods20xfa0

enum QKnxInterfaceObjectType::NonStandardized

This enum describes the types range of non standard interface objects.

ConstantValue
QKnxInterfaceObjectType::First0xc351
QKnxInterfaceObjectType::Last0xffff

enum QKnxInterfaceObjectType::System

This enum describes the types of interface object dedicated to system.

ConstantValue
QKnxInterfaceObjectType::Device0x0000
QKnxInterfaceObjectType::GroupAddressTable0x0001
QKnxInterfaceObjectType::AssociationTable0x0002
QKnxInterfaceObjectType::ApplicationProgram0x0003
QKnxInterfaceObjectType::InterfaceProgram0x0004
QKnxInterfaceObjectType::KnxObjectAssociationTable0x0005
QKnxInterfaceObjectType::Router0x0006
QKnxInterfaceObjectType::LteAddressRoutingTable0x0007
QKnxInterfaceObjectType::CemiServer0x0008
QKnxInterfaceObjectType::GroupObjectTable0x0009
QKnxInterfaceObjectType::PollingMaster0x000a
QKnxInterfaceObjectType::KnxNetIpParameter0x000b
QKnxInterfaceObjectType::Reserved0x000c
QKnxInterfaceObjectType::FileServer0x000d
QKnxInterfaceObjectType::Security0x0011
QKnxInterfaceObjectType::RfMedium0x0013

Member Function Documentation

QKnxInterfaceObjectType::QKnxInterfaceObjectType(int objectType)

Default constructs an instance of QKnxInterfaceObjectType.

[static] bool QKnxInterfaceObjectType::isMatch(QKnxInterfaceObjectType type, QKnxInterfaceObjectProperty property)

Returns true if the given property can be used in conjunction with the given type; false otherwise.

Note: The function performs a check on the object type first and if it is not a valid object type, it will return false.

Note: Only system types are fully matched, for all other valid object types the function returns true if the property can be interpreted as a known or unknown property (depends on the property value).

[static] bool QKnxInterfaceObjectType::isObjectType(QKnxInterfaceObjectType type)

Returns true if the type is of type System, Application or l NonStandardized; false otherwise.

Note: Reserved values are considered invalid object types.

QKnxInterfaceObjectType::operator int() const

QKnxInterfaceObjectType &QKnxInterfaceObjectType::operator=(int objectType)

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