3#include <xrpl/beast/insight/GaugeImpl.h>
66 impl_->increment(amount);
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()=default
Create a null metric.
Gauge const & operator++() const
void set(value_type value) const
Set the value on the gauge.
Gauge(std::shared_ptr< GaugeImpl > impl)
Create the metric reference the specified implementation.
GaugeImpl::value_type value_type
Gauge const & operator=(value_type value) const
GaugeImpl::difference_type difference_type
std::shared_ptr< GaugeImpl > impl_
Gauge const & operator--() const
Gauge const & operator++(int) const
Gauge const & operator-=(difference_type amount) const
void increment(difference_type amount) const
Adjust the value of the gauge.
Gauge const & operator--(int) const