ProgrammingMode Class
class QKnxNetIpSrpProxy::ProgrammingModeThe QKnxNetIpSrpProxy::ProgrammingMode class provides the means to create the Select By Programming Mode SRP for the extended search request. More...
This class was introduced in Qt 5.12.
Public Functions
ProgrammingMode(const ProgrammingMode &other) | |
ProgrammingMode() | |
ProgrammingMode & | operator=(const ProgrammingMode &other) |
~ProgrammingMode() | |
QKnxNetIpSrp | create() const |
ProgrammingMode & | setMandatory(bool value) |
Detailed Description
The client includes this SRP to indicate that it is interested only in responses from KNXnet/IP servers in which Programming Mode is currently enabled. If Programming Mode is not enabled in a KNXnet/IP server, then the server does not respond to this search request.
Note: By default the mandatory flag is set to true
.
The common way to create this SRP is:
auto srpMode = QKnxNetIpSrpProxy::programmingModeBuilder() .setMandatory(true) .create();
See also QKnxNetIpSearchRequestProxy.
Member Function Documentation
ProgrammingMode::ProgrammingMode(const ProgrammingMode &other)
Constructs a copy of other.
ProgrammingMode::ProgrammingMode()
Constructs a builder for SRPs of the type Select By Programming Mode.
ProgrammingMode &ProgrammingMode::operator=(const ProgrammingMode &other)
Assigns other to this Programming Mode builder and returns a reference.
ProgrammingMode::~ProgrammingMode()
Destroys a Select By Programming Mode SRP.
QKnxNetIpSrp ProgrammingMode::create() const
Creates a Select By Programming Mode SRP.
ProgrammingMode &ProgrammingMode::setMandatory(bool value)
Sets the mandatory bit to value.
Note: The mandatory bit is the first significant bit of the Type Code field.
© 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.