deCONZ C++ API v2.6.1
|
Represents a named group of ZclAttribute. More...
#include <zcl.h>
Public Member Functions | |
ZclAttributeSet () | |
Constructor. | |
ZclAttributeSet (const ZclAttributeSet &other) | |
Copy constructor. | |
ZclAttributeSet & | operator= (const ZclAttributeSet &other) |
Copy assignment constructor. | |
ZclAttributeSet (uint16_t id, const QString &description) | |
Constructor used by ZCLDB. | |
~ZclAttributeSet () | |
Destructor. | |
uint16_t | id () const |
Returns the attribute set identifier. | |
const QString & | description () const |
Returns the attribute set description. | |
const std::vector< int > & | attributes () const |
Returns a list of indexes into ZclCluster::attributes() list. | |
void | addAttribute (int idx) |
Adds a attribute to the set. | |
quint16 | manufacturerCode () const |
Return the manufacturer code (default: 0x0000 = not manufacturer specific). | |
void | setManufacturerCode (quint16 mfcode) |
Sets the manufacturer code. | |
Represents a named group of ZclAttribute.
void deCONZ::ZclAttributeSet::addAttribute | ( | int | idx | ) |
Adds a attribute to the set.
idx | index into ZclCluster::attributes() list |