Zigbee Protocol Controller 1.6.0
ClusterAttributeListAccessor Class Reference

#include <zigpc_datastore_accessor.hpp>

Inheritance diagram for ClusterAttributeListAccessor:
StoreListAccessor< zcl_attribute_id_t >

Public Member Functions

 ClusterAttributeListAccessor ()
 
std::string to_str (attribute_store_node_t parent, size_t list_count) override
 Return string representation of attribute list. More...
 
- Public Member Functions inherited from StoreListAccessor< zcl_attribute_id_t >
 StoreListAccessor (attribute_store_type_t node_type, std::string label)
 
virtual ~StoreListAccessor ()=default
 
sl_status_t read_list (attribute_store_node_t list_parent, zcl_attribute_id_t *const list, size_t list_capacity)
 Read the list of entries. More...
 
sl_status_t create_list (attribute_store_node_t list_parent, const zcl_attribute_id_t *list, size_t list_count)
 Create the list into the store if it doesn't exist already. More...
 
sl_status_t remove_list (attribute_store_node_t list_parent)
 Remove a list under the node ID passed in. More...
 
virtual std::string to_str (attribute_store_node_t parent, size_t list_count)=0
 

Static Public Member Functions

static std::string get_label_type (void)
 Get the label type of the attribute list. More...
 

Constructor & Destructor Documentation

◆ ClusterAttributeListAccessor()

ClusterAttributeListAccessor::ClusterAttributeListAccessor ( )
explicit

Member Function Documentation

◆ get_label_type()

static std::string ClusterAttributeListAccessor::get_label_type ( void  )
inlinestatic

Get the label type of the attribute list.

Returns
std::string

◆ to_str()

std::string ClusterAttributeListAccessor::to_str ( attribute_store_node_t  parent,
size_t  list_count 
)
overridevirtual

Return string representation of attribute list.

Parameters
parentParent of attribute list (cluster entity).
list_countCount of attribute list entries to print.
Returns
std::string Attribute list in string form, else empty string if entity is not stored.

Implements StoreListAccessor< zcl_attribute_id_t >.


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