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