Public Member Functions | Private Attributes
cartographer_ros::metrics::HistogramFamily Class Reference

#include <family.h>

List of all members.

Public Member Functions

HistogramAdd (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_

Detailed Description

Definition at line 60 of file family.h.


Constructor & Destructor Documentation

cartographer_ros::metrics::HistogramFamily::HistogramFamily ( const std::string &  name,
const std::string &  description,
const BucketBoundaries &  boundaries 
) [inline]

Definition at line 63 of file family.h.


Member Function Documentation

Histogram * cartographer_ros::metrics::HistogramFamily::Add ( const std::map< std::string, std::string > &  labels) [override]

Definition at line 63 of file family.cc.

cartographer_ros_msgs::MetricFamily cartographer_ros::metrics::HistogramFamily::ToRosMessage ( )

Definition at line 71 of file family.cc.


Member Data Documentation

Definition at line 75 of file family.h.

Definition at line 73 of file family.h.

Definition at line 72 of file family.h.

std::vector<std::unique_ptr<Histogram> > cartographer_ros::metrics::HistogramFamily::wrappers_ [private]

Definition at line 74 of file family.h.


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


cartographer_ros
Author(s): The Cartographer Authors
autogenerated on Wed Jul 10 2019 04:10:28