Interface for a metrics collector. More...
#include <metric_collector.h>
Public Member Functions | |
virtual void | Collect ()=0 |
callback for collecting metrics. More... | |
MetricCollectorInterface (ros_monitoring_msgs::MetricManagerInterface &m) | |
Constructor. More... | |
Protected Attributes | |
ros_monitoring_msgs::MetricManagerInterface & | mgr_ |
creates metric entries and publishes them. More... | |
Interface for a metrics collector.
Definition at line 23 of file metric_collector.h.
|
inline |
Constructor.
Definition at line 29 of file metric_collector.h.
|
pure virtual |
callback for collecting metrics.
Implemented in CPUMetricCollector, and SysInfoCollector.
|
protected |
creates metric entries and publishes them.
Definition at line 40 of file metric_collector.h.