20 #ifndef BEAST_INSIGHT_COUNTER_H_INCLUDED
21 #define BEAST_INSIGHT_COUNTER_H_INCLUDED
23 #include <ripple/beast/insight/CounterImpl.h>
std::shared_ptr< CounterImpl > m_impl
Counter const & operator+=(value_type amount) const
A metric for measuring an integral value.
Counter const & operator++(int) const
Counter(std::shared_ptr< CounterImpl > const &impl)
Create the metric reference the specified implementation.
Counter const & operator--() const
Counter()
Create a null metric.
void increment(value_type amount) const
Increment the counter.
Counter const & operator-=(value_type amount) const
Counter const & operator++() const
Counter const & operator--(int) const