Zigbee Protocol Controller 1.6.0

#include <zigpc_datastore_accessor.hpp>

Inheritance diagram for DeviceAccessor:
StoreAccessor< zigbee_eui64_uint_t, zigpc_device_data_t >

Public Member Functions

 DeviceAccessor ()
 
std::string to_str (attribute_store_node_t parent, zigbee_eui64_uint_t eui64) override
 Return string representation of device entity. More...
 
- Public Member Functions inherited from StoreAccessor< zigbee_eui64_uint_t, zigpc_device_data_t >
 StoreAccessor (attribute_store_type_t node_type, std::string label)
 
virtual ~StoreAccessor ()=default
 
std::string get_label (void) const
 
attribute_store_type_t get_node_type (void) const
 
attribute_store_node_t find (attribute_store_node_t parent, zigbee_eui64_uint_t key)
 Find an entity based based on the key. More...
 
size_t child_count (attribute_store_node_t parent, zigbee_eui64_uint_t key, attribute_store_type_t child_type)
 Retrive the count of child entities by type. More...
 
sl_status_t find_by_index (attribute_store_node_t parent, size_t index, zigbee_eui64_uint_t *key)
 Find the search key of the child entity based on the index. More...
 
sl_status_t create (attribute_store_node_t parent, zigbee_eui64_uint_t key)
 Create a new entity based on the search key. More...
 
sl_status_t read (attribute_store_node_t parent, zigbee_eui64_uint_t key, zigpc_device_data_t *const data)
 Read information of the entity. More...
 
sl_status_t write (attribute_store_node_t parent, zigbee_eui64_uint_t key, const zigpc_device_data_t *data)
 Write information to the entity. More...
 
sl_status_t remove (attribute_store_node_t parent, zigbee_eui64_uint_t key)
 Remove the entity from the store. More...
 
sl_status_t remove_children (attribute_store_node_t parent, zigbee_eui64_uint_t key)
 Remove all child entities from the store. More...
 
virtual std::string to_str (attribute_store_node_t parent, zigbee_eui64_uint_t key)
 Get string representation of entity in byte buffer representation. More...
 

Constructor & Destructor Documentation

◆ DeviceAccessor()

DeviceAccessor::DeviceAccessor ( )
explicit

Member Function Documentation

◆ to_str()

std::string DeviceAccessor::to_str ( attribute_store_node_t  parent,
zigbee_eui64_uint_t  eui64 
)
overridevirtual

Return string representation of device entity.

Parameters
parentParent of device entity (network entity).
eui64Device identifer to search.
Returns
std::string Device data in string form, else empty string if entity is not stored.

Reimplemented from StoreAccessor< zigbee_eui64_uint_t, zigpc_device_data_t >.


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