1#ifndef BEAST_INSIGHT_GAUGE_H_INCLUDED
2#define BEAST_INSIGHT_GAUGE_H_INCLUDED
4#include <xrpl/beast/insight/GaugeImpl.h>
std::int64_t difference_type
A metric for measuring an integral value.
Gauge const & operator+=(difference_type amount) const
std::shared_ptr< GaugeImpl > const & impl() const
Gauge const & operator++() const
void set(value_type value) const
Set the value on the gauge.
Gauge(std::shared_ptr< GaugeImpl > const &impl)
Create the metric reference the specified implementation.
Gauge const & operator=(value_type value) const
Gauge const & operator--() const
Gauge const & operator++(int) const
Gauge const & operator-=(difference_type amount) const
std::shared_ptr< GaugeImpl > m_impl
void increment(difference_type amount) const
Adjust the value of the gauge.
Gauge const & operator--(int) const
Gauge()
Create a null metric.