#include <family.h>
Public Member Functions | |
Histogram * | Add (const std::map< std::string, std::string > &labels) override |
HistogramFamily (const std::string &name, const std::string &description, const BucketBoundaries &boundaries) | |
cartographer_ros_msgs::MetricFamily | ToRosMessage () |
Private Attributes | |
const BucketBoundaries | boundaries_ |
std::string | description_ |
std::string | name_ |
std::vector< std::unique_ptr < Histogram > > | wrappers_ |
cartographer_ros::metrics::HistogramFamily::HistogramFamily | ( | const std::string & | name, |
const std::string & | description, | ||
const BucketBoundaries & | boundaries | ||
) | [inline] |
Histogram * cartographer_ros::metrics::HistogramFamily::Add | ( | const std::map< std::string, std::string > & | labels | ) | [override] |
cartographer_ros_msgs::MetricFamily cartographer_ros::metrics::HistogramFamily::ToRosMessage | ( | ) |
const BucketBoundaries cartographer_ros::metrics::HistogramFamily::boundaries_ [private] |
std::string cartographer_ros::metrics::HistogramFamily::description_ [private] |
std::string cartographer_ros::metrics::HistogramFamily::name_ [private] |
std::vector<std::unique_ptr<Histogram> > cartographer_ros::metrics::HistogramFamily::wrappers_ [private] |