#include <gauge.h>
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_ |
cartographer_ros::metrics::Gauge::Gauge | ( | const std::map< std::string, std::string > & | labels | ) | [inline, explicit] |
void cartographer_ros::metrics::Gauge::Add | ( | const double | value | ) | [inline, private] |
void cartographer_ros::metrics::Gauge::Decrement | ( | const double | value | ) | [inline, override] |
void cartographer_ros::metrics::Gauge::Decrement | ( | ) | [inline, override] |
double value_ cartographer_ros::metrics::Gauge::GUARDED_BY | ( | mutex_ | ) | [private] |
void cartographer_ros::metrics::Gauge::Increment | ( | const double | value | ) | [inline, override] |
void cartographer_ros::metrics::Gauge::Increment | ( | ) | [inline, override] |
void cartographer_ros::metrics::Gauge::Set | ( | double | value | ) | [inline, override] |
cartographer_ros_msgs::Metric cartographer_ros::metrics::Gauge::ToRosMessage | ( | ) | [inline] |
double cartographer_ros::metrics::Gauge::Value | ( | ) | [inline] |
const std::map<std::string, std::string> cartographer_ros::metrics::Gauge::labels_ [private] |
absl::Mutex cartographer_ros::metrics::Gauge::mutex_ [private] |