The QKnxNetIpSecuredServiceFamiliesDibProxy::Builder class creates a KNXnet/IP secured service families DIB structure. 更多...
Builder (const Builder & other ) | |
Builder () | |
Builder & | operator= (const Builder & other ) |
~Builder () | |
QKnxNetIpDib | create () const |
Builder & | setServiceInfos (const QVector<QKnxSecuredServiceInfo> & infos ) |
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() .setServiceInfos({ { QKnxNetIp::ServiceFamily::Core, 0x01 }, { QKnxNetIp::ServiceFamily::DeviceManagement, 0x01 }, { QKnxNetIp::ServiceFamily::IpTunneling, 0x01 } }) .create();
构造副本为 other .
Constructs a KnxNet/IP secured service families dib builder.
赋值指定 other 到此对象。
销毁对象并释放任何分配资源。
创建并返回 QKnxNetIpDib .
注意: The returned structure may be invalid depending on the values used during setup.
另请参阅 isValid ().
Sets the supported service families and versions of the KNXnet/IP DIB structure to infos and returns a reference to the builder.