QKnxInterfaceObjectType Class
The QKnxInterfaceObjectType class holds the type of a KNX interface object. More...
Header: | #include <QKnxInterfaceObjectType> |
qmake: | QT += knx |
Public Types
enum | Application { Hvac, Lightning, IndoorBrightnessSensor, IndoorLuminanceSensor, LightSwitchingActuatorBasic, …, WhiteGoods2 } |
enum | NonStandardized { First, Last } |
enum | System { Device, GroupAddressTable, AssociationTable, ApplicationProgram, InterfaceProgram, …, RfMedium } |
Public Functions
QKnxInterfaceObjectType(int objectType) | |
int | operator int() const |
QKnxInterfaceObjectType & | operator=(int objectType) |
Static Public Members
bool | isMatch(QKnxInterfaceObjectType type, QKnxInterfaceObjectProperty property) |
bool | isObjectType(QKnxInterfaceObjectType type) |
Detailed Description
A KNX interface object holds information about device functionality. Each interface object type covers particular functionality. This class represents the System, Application, and NonStandardized object types.
The type of an interface object is stored as its first property in QKnxInterfaceObjectProperty::ObjectType.
See also Qt KNX Device Management Classes.
Member Type Documentation
enum QKnxInterfaceObjectType::Application
This enum describes the type ranges of interface objects dedicated to an application area.
Constant | Value | Description |
---|---|---|
QKnxInterfaceObjectType::Hvac | 0x64 | Heating, ventilation, and air conditioning (HVAC) |
QKnxInterfaceObjectType::Lightning | 0x190 | Lightning |
QKnxInterfaceObjectType::IndoorBrightnessSensor | 0x199 | Indoor brightness sensors |
QKnxInterfaceObjectType::IndoorLuminanceSensor | 0x19a | Indoor luminance sensors |
QKnxInterfaceObjectType::LightSwitchingActuatorBasic | 0x1a1 | Basic light switching actuators |
QKnxInterfaceObjectType::DimmingActuatorBasic | 0x1a2 | Basic dimming actuators |
QKnxInterfaceObjectType::DimmingSensorBasic | 0x1a4 | Basic dimming sensors |
QKnxInterfaceObjectType::SwitchingSensorBasic | 0x1a5 | Basic switching sensors |
QKnxInterfaceObjectType::SensorsAndActuators | 0x258 | Sensors and actuators |
QKnxInterfaceObjectType::ShuttersAndBlinds | 0x320 | Shutters and blinds |
QKnxInterfaceObjectType::FociS | 0x3e8 | Functions of common interest, such as date and time |
QKnxInterfaceObjectType::Metering | 0x44d | Metering the consumption of energy, water, gas, and so on |
QKnxInterfaceObjectType::OpenTherm | 0x4b0 | The OpenTherm gateway, which connects KNX to the OT Bus used for heating systems, such as gas condensing boilers |
QKnxInterfaceObjectType::ApplicationReserved | 0x4e2 | Reserved |
QKnxInterfaceObjectType::WhiteGoods | 0xdac | White goods |
QKnxInterfaceObjectType::ApplicationReserved2 | 0xed8 | Reserved |
QKnxInterfaceObjectType::WhiteGoods2 | 0xfa0 | White goods |
enum QKnxInterfaceObjectType::NonStandardized
This enum describes the type ranges of non-standard interface objects.
Constant | Value | Description |
---|---|---|
QKnxInterfaceObjectType::First | 0xc351 | First object |
QKnxInterfaceObjectType::Last | 0xffff | Last object |
enum QKnxInterfaceObjectType::System
This enum describes the types of interface objects dedicated to device system functionality.
Constant | Value | Description |
---|---|---|
QKnxInterfaceObjectType::Device | 0x0000 | Device interface object |
QKnxInterfaceObjectType::GroupAddressTable | 0x0001 | Group address table interface object |
QKnxInterfaceObjectType::AssociationTable | 0x0002 | Association table interface object |
QKnxInterfaceObjectType::ApplicationProgram | 0x0003 | Application program interface object |
QKnxInterfaceObjectType::InterfaceProgram | 0x0004 | Interface program interface object |
QKnxInterfaceObjectType::KnxObjectAssociationTable | 0x0005 | KNX object assiocation table interface object |
QKnxInterfaceObjectType::Router | 0x0006 | Router interface object |
QKnxInterfaceObjectType::LteAddressRoutingTable | 0x0007 | Logical Tag Extended (LTE) address routing table interface object |
QKnxInterfaceObjectType::CemiServer | 0x0008 | Common External Message Interface (cEMI) server interface object |
QKnxInterfaceObjectType::GroupObjectTable | 0x0009 | Group object table interface object |
QKnxInterfaceObjectType::PollingMaster | 0x000a | Polling master interface object |
QKnxInterfaceObjectType::KnxNetIpParameter | 0x000b | KNXnet/IP parameter interface object |
QKnxInterfaceObjectType::Reserved | 0x000c | Reserved |
QKnxInterfaceObjectType::FileServer | 0x000d | File server interface object |
QKnxInterfaceObjectType::Security | 0x0011 | Security interface object |
QKnxInterfaceObjectType::RfMedium | 0x0013 | Radio frequency (RF) medium interface object |
Member Function Documentation
QKnxInterfaceObjectType::QKnxInterfaceObjectType(int objectType)
Creates a KNX interface object type of the type objectType.
[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 and returns false
if the object type is invalid.
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 (depending on the property value).
[static]
bool QKnxInterfaceObjectType::isObjectType(QKnxInterfaceObjectType type)
Returns true
if type is a value of System, Application, or NonStandardized; false
otherwise.
Note: Reserved values are considered invalid object types.
int QKnxInterfaceObjectType::operator int() const
Returns the value stored in the KNX interface object type as an integer.
QKnxInterfaceObjectType &QKnxInterfaceObjectType::operator=(int objectType)
Assigns objectType to this KNX interface object type.
© 2024 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.