Zigbee Protocol Controller 1.6.0
zigpc_diagnostics_manager Class Reference

#include <zigpc_diagnostics_manager.hpp>

Inheritance diagram for zigpc_diagnostics_manager:
zigpc_diagnostics_notification

Public Member Functions

void notify (std::string metric_id)
 
void publish_metric_list ()
 
std::string get_unid ()
 
void set_unid (std::string unid)
 
 ~zigpc_diagnostics_manager ()
 
 zigpc_diagnostics_manager (zigpc_diagnostics_manager &other)=delete
 
void operator= (const zigpc_diagnostics_manager &)=delete
 
void handle_metricID_request (std::vector< std::string > metric_id_vector)
 Accept list of Metric IDs to trigger update. More...
 
void add_metric (std::shared_ptr< zigpc_diagnostics_metric > metric)
 add a metric to the diagnostic manager internal map More...
 
virtual void notify (std::string metric_id)
 

Static Public Member Functions

static zigpc_diagnostics_managerget_instance ()
 

Private Member Functions

 zigpc_diagnostics_manager ()
 

Private Attributes

std::map< std::string, std::shared_ptr< zigpc_diagnostics_metric > > metric_map
 
std::string unid
 

Constructor & Destructor Documentation

◆ zigpc_diagnostics_manager() [1/2]

zigpc_diagnostics_manager::zigpc_diagnostics_manager ( )
private

◆ ~zigpc_diagnostics_manager()

zigpc_diagnostics_manager::~zigpc_diagnostics_manager ( )

◆ zigpc_diagnostics_manager() [2/2]

zigpc_diagnostics_manager::zigpc_diagnostics_manager ( zigpc_diagnostics_manager other)
delete

Member Function Documentation

◆ add_metric()

void zigpc_diagnostics_manager::add_metric ( std::shared_ptr< zigpc_diagnostics_metric metric)
inline

add a metric to the diagnostic manager internal map

Parameters
metric_identifiermetric_id identifier of the metric
metricthe metric object to add

◆ get_instance()

static zigpc_diagnostics_manager & zigpc_diagnostics_manager::get_instance ( )
static

◆ get_unid()

std::string zigpc_diagnostics_manager::get_unid ( )
inline

◆ handle_metricID_request()

void zigpc_diagnostics_manager::handle_metricID_request ( std::vector< std::string >  metric_id_vector)

Accept list of Metric IDs to trigger update.

Parameters
metric_id_vector

◆ notify()

void zigpc_diagnostics_manager::notify ( std::string  metric_id)
virtual

Reimplemented from zigpc_diagnostics_notification.

◆ operator=()

void zigpc_diagnostics_manager::operator= ( const zigpc_diagnostics_manager )
delete

◆ publish_metric_list()

void zigpc_diagnostics_manager::publish_metric_list ( )

◆ set_unid()

void zigpc_diagnostics_manager::set_unid ( std::string  unid)
inline

Member Data Documentation

◆ metric_map

std::map<std::string, std::shared_ptr<zigpc_diagnostics_metric> > zigpc_diagnostics_manager::metric_map
private

◆ unid

std::string zigpc_diagnostics_manager::unid
private

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