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

#include <gauge.h>

List of all members.

Public Member Functions

void Decrement (const double value) override
void Decrement () override
 Gauge (const std::map< std::string, std::string > &labels)
void Increment (const double value) override
void Increment () override
void Set (double value) override
cartographer_ros_msgs::Metric ToRosMessage ()
double Value ()

Private Member Functions

void Add (const double value)
double value_ GUARDED_BY (mutex_)

Private Attributes

const std::map< std::string,
std::string > 
labels_
absl::Mutex mutex_

Detailed Description

Definition at line 30 of file gauge.h.


Constructor & Destructor Documentation

cartographer_ros::metrics::Gauge::Gauge ( const std::map< std::string, std::string > &  labels) [inline, explicit]

Definition at line 32 of file gauge.h.


Member Function Documentation

void cartographer_ros::metrics::Gauge::Add ( const double  value) [inline, private]

Definition at line 67 of file gauge.h.

void cartographer_ros::metrics::Gauge::Decrement ( const double  value) [inline, override]

Definition at line 35 of file gauge.h.

void cartographer_ros::metrics::Gauge::Decrement ( ) [inline, override]

Definition at line 37 of file gauge.h.

void cartographer_ros::metrics::Gauge::Increment ( const double  value) [inline, override]

Definition at line 39 of file gauge.h.

void cartographer_ros::metrics::Gauge::Increment ( ) [inline, override]

Definition at line 41 of file gauge.h.

void cartographer_ros::metrics::Gauge::Set ( double  value) [inline, override]

Definition at line 43 of file gauge.h.

cartographer_ros_msgs::Metric cartographer_ros::metrics::Gauge::ToRosMessage ( ) [inline]

Definition at line 53 of file gauge.h.

Definition at line 48 of file gauge.h.


Member Data Documentation

const std::map<std::string, std::string> cartographer_ros::metrics::Gauge::labels_ [private]

Definition at line 73 of file gauge.h.

Definition at line 72 of file gauge.h.


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


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