The QKnxNetIpSrpProxy::ProgrammingMode class provides the means to create the Select By Programming Mode SRP for the extended search request. 更多...
该类在 Qt 5.12 引入。
ProgrammingMode (const ProgrammingMode & other ) | |
ProgrammingMode () | |
ProgrammingMode & | operator= (const ProgrammingMode & other ) |
~ProgrammingMode () | |
QKnxNetIpSrp | create () const |
ProgrammingMode & | setMandatory (bool value ) |
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.
注意:
By default the mandatory flag is set to
true
.
The common way to create this SRP is:
auto srpMode = QKnxNetIpSrpProxy::programmingModeBuilder() .setMandatory(true) .create();
另请参阅 QKnxNetIpSearchRequestProxy .
构造副本为 other .
Constructs a builder for SRPs of the type Select By Programming Mode.
赋值 other to this Programming Mode builder and returns a reference.
Destroys a Select By Programming Mode SRP.
Creates a Select By Programming Mode SRP.
Sets the mandatory bit to value .
注意: The mandatory bit is the first significant bit of the Type Code field.