Builder Class

(QKnxNetIpRoutingSystemBroadcastProxy::Builder)

The QKnxNetIpRoutingSystemBroadcastProxy::Builder class provides the means to create a KNXnet/IP routing system broadcast frame. More...

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

Public Functions

Builder()
Builder(const Builder &other)
~Builder()
QKnxNetIpFrame create() const
Builder &setCemi(const QKnxLinkLayerFrame &cemi)
Builder &operator=(const Builder &other)

Detailed Description

The QKnxNetIpRoutingSystemBroadcastProxy::Builder class provides the means to create a KNXnet/IP routing system broadcast frame.

The common way to create a routing system broadcast frame is:

QKnxLinkLayerFrame cemi = // build cEMI frame
auto netIpFrame = QKnxNetIpRoutingSystemBroadcastProxy::builder()
    .setCemi(cemi)
    .create();

Member Function Documentation

Builder::Builder()

Creates a new empty system broadcast frame builder object.

Builder::Builder(const Builder &other)

Constructs a copy of other.

Builder::~Builder()

Destroys the object and frees any allocated resources.

QKnxNetIpFrame Builder::create() const

Creates a KNXnet/IP frame that contains the routing system broadcast message.

Builder &Builder::setCemi(const QKnxLinkLayerFrame &cemi)

Sets the cEMI frame containing the routing system broadcast message to cemi.

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

Assigns the specified other to this object.

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