Interface for MetricManager. More...
#include <metric_manager.h>
Public Member Functions | |
virtual void | AddDimension (const std::string &name, const std::string &value)=0 |
add global dimension (applies to all metrics). More... | |
virtual void | AddMetric (MetricData md)=0 |
add a metric to list of metrics to be published. More... | |
virtual MetricData | CreateMetric () const =0 |
create a metric. More... | |
virtual void | Publish ()=0 |
publishes all metrics and then discards them. More... | |
virtual | ~MetricManagerInterface () |
destructor. More... | |
Interface for MetricManager.
Definition at line 30 of file metric_manager.h.
|
inlinevirtual |
destructor.
Definition at line 56 of file metric_manager.h.
|
pure virtual |
add global dimension (applies to all metrics).
Implemented in ros_monitoring_msgs::MetricManager.
|
pure virtual |
add a metric to list of metrics to be published.
md | a metric. |
Implemented in ros_monitoring_msgs::MetricManager.
|
pure virtual |
create a metric.
Implemented in ros_monitoring_msgs::MetricManager.
|
pure virtual |
publishes all metrics and then discards them.
Implemented in ros_monitoring_msgs::MetricManager.