Zigbee Protocol Controller 1.6.0
zigpc_uptime_metric Class Reference

#include <zigpc_uptime.hpp>

Inheritance diagram for zigpc_uptime_metric:
zigpc_diagnostics_metric

Public Member Functions

 zigpc_uptime_metric (zigpc_diagnostics_notification &notif, std::string metric_id)
 
 ~zigpc_uptime_metric ()
 
void update_value ()
 
- Public Member Functions inherited from zigpc_diagnostics_metric
 zigpc_diagnostics_metric (zigpc_diagnostics_notification &notif, std::string metric_id)
 Generic diagnostic metric constructor. More...
 
std::string get_metric_id (void) const
 
std::string get_serialized_value (void) const
 
virtual void update_value (void)=0
 

Private Attributes

long value
 

Additional Inherited Members

- Protected Attributes inherited from zigpc_diagnostics_metric
zigpc_diagnostics_notificationon_update_complete
 
std::string metric_id
 
std::string serialized_value
 

Constructor & Destructor Documentation

◆ zigpc_uptime_metric()

zigpc_uptime_metric::zigpc_uptime_metric ( zigpc_diagnostics_notification notif,
std::string  metric_id 
)
inline

◆ ~zigpc_uptime_metric()

zigpc_uptime_metric::~zigpc_uptime_metric ( )
inline

Member Function Documentation

◆ update_value()

void zigpc_uptime_metric::update_value ( void  )
inlinevirtual

Member Data Documentation

◆ value

long zigpc_uptime_metric::value
private

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