QKnxNpduFactory Class

The QKnxNpduFactory class is used to create a valid Network protocol data unit (QKnxNpdu) to be used in an QKnxTunnelFrame. More...

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

Public Types

Public Functions

QKnxNpduFactory() = delete

Detailed Description

The QKnxNpduFactory class is used to create a valid Network protocol data unit (QKnxNpdu) to be used in an QKnxTunnelFrame.

One builds a NPDU to trigger a given application service. The factory is organized according to the general category the service we want to trigger belongs to. The category refers to the connection type needed to use the services. The possible service categories are: Multicast, Broadcast, PointToPoint, and PointToPointConnectionOriented.

Within those categories, there is a function to create a NPDU for each possible application service belonging to the given category (all the services are listed here QKnxNpdu::ApplicationControlField).

Member Function Documentation

[delete] QKnxNpduFactory::QKnxNpduFactory()

Default constructs an instance of QKnxNpduFactory.

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