deCONZ C++ API v2.6.1
Loading...
Searching...
No Matches
deCONZ::ZclAttributeSet Class Reference

Represents a named group of ZclAttribute. More...

#include <zcl.h>

Public Member Functions

 ZclAttributeSet ()
 Constructor.
 
 ZclAttributeSet (const ZclAttributeSet &other)
 Copy constructor.
 
ZclAttributeSetoperator= (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.
 

Detailed Description

Represents a named group of ZclAttribute.

Member Function Documentation

◆ addAttribute()

void deCONZ::ZclAttributeSet::addAttribute ( int  idx)

Adds a attribute to the set.

Parameters
idxindex into ZclCluster::attributes() list

The documentation for this class was generated from the following files: