Builder Class

class QKnxNetIpSecuredServiceFamiliesDibProxy::Builder

The QKnxNetIpSecuredServiceFamiliesDibProxy::Builder class creates a KNXnet/IP secured service families DIB structure. More...

Public Functions

Builder(const Builder &other)
Builder &operator=(const Builder &other)
QKnxNetIpDib create() const
Builder &setServiceInfos(const QVector<QKnxSecuredServiceInfo> &infos)

Detailed Description

A KNXnet/IP secured service families DIB structure contains a set of supported services and their corresponding versions.

The common way to create such a DIB structure is:

auto dib = QKnxNetIpSecuredServiceFamiliesDibProxy::builder()
        { QKnxNetIp::ServiceFamily::Core, 0x01 },
        { QKnxNetIp::ServiceFamily::DeviceManagement, 0x01 },
        { QKnxNetIp::ServiceFamily::IpTunneling, 0x01 }

Member Function Documentation

Builder::Builder(const Builder &other)

Constructs a copy of other.


Constructs a KnxNet/IP secured service families dib builder.

Builder &Builder::operator=(const Builder &other)

Assigns the specified other to this object.


Destroys the object and frees any allocated resources.

QKnxNetIpDib Builder::create() const

Creates and returns a QKnxNetIpDib.

Note: The returned structure may be invalid depending on the values used during setup.

See also isValid().

Builder &Builder::setServiceInfos(const QVector<QKnxSecuredServiceInfo> &infos)

Sets the supported service families and versions of the KNXnet/IP DIB structure to infos and returns a reference to the builder.

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