Public Member Functions | List of all members
ros_monitoring_msgs::MetricManagerInterface Class Referenceabstract

Interface for MetricManager. More...

#include <metric_manager.h>

Inheritance diagram for ros_monitoring_msgs::MetricManagerInterface:
Inheritance graph
[legend]

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...
 

Detailed Description

Interface for MetricManager.

Definition at line 30 of file metric_manager.h.

Constructor & Destructor Documentation

virtual ros_monitoring_msgs::MetricManagerInterface::~MetricManagerInterface ( )
inlinevirtual

destructor.

Definition at line 56 of file metric_manager.h.

Member Function Documentation

virtual void ros_monitoring_msgs::MetricManagerInterface::AddDimension ( const std::string &  name,
const std::string &  value 
)
pure virtual

add global dimension (applies to all metrics).

Implemented in ros_monitoring_msgs::MetricManager.

virtual void ros_monitoring_msgs::MetricManagerInterface::AddMetric ( MetricData  md)
pure virtual

add a metric to list of metrics to be published.

Parameters
mda metric.

Implemented in ros_monitoring_msgs::MetricManager.

virtual MetricData ros_monitoring_msgs::MetricManagerInterface::CreateMetric ( ) const
pure virtual

create a metric.

Implemented in ros_monitoring_msgs::MetricManager.

virtual void ros_monitoring_msgs::MetricManagerInterface::Publish ( )
pure virtual

publishes all metrics and then discards them.

Implemented in ros_monitoring_msgs::MetricManager.


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


health_metric_collector
Author(s): AWS RoboMaker
autogenerated on Fri Mar 5 2021 03:32:42