Public Member Functions | Protected Attributes | List of all members
MetricCollectorInterface Class Referenceabstract

Interface for a metrics collector. More...

#include <metric_collector.h>

Inheritance diagram for MetricCollectorInterface:
Inheritance graph
[legend]

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::MetricManagerInterfacemgr_
 creates metric entries and publishes them. More...
 

Detailed Description

Interface for a metrics collector.

Definition at line 23 of file metric_collector.h.

Constructor & Destructor Documentation

MetricCollectorInterface::MetricCollectorInterface ( ros_monitoring_msgs::MetricManagerInterface m)
inline

Constructor.

Definition at line 29 of file metric_collector.h.

Member Function Documentation

virtual void MetricCollectorInterface::Collect ( )
pure virtual

callback for collecting metrics.

Implemented in CPUMetricCollector, and SysInfoCollector.

Member Data Documentation

ros_monitoring_msgs::MetricManagerInterface& MetricCollectorInterface::mgr_
protected

creates metric entries and publishes them.

Definition at line 40 of file metric_collector.h.


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