rippled
Loading...
Searching...
No Matches
CounterImpl.h
1#ifndef BEAST_INSIGHT_COUNTERIMPL_H_INCLUDED
2#define BEAST_INSIGHT_COUNTERIMPL_H_INCLUDED
3
4#include <cstdint>
5#include <memory>
6
7namespace beast {
8namespace insight {
9
10class Counter;
11
12class CounterImpl : public std::enable_shared_from_this<CounterImpl>
13{
14public:
16
17 virtual ~CounterImpl() = 0;
18 virtual void
19 increment(value_type amount) = 0;
20};
21
22} // namespace insight
23} // namespace beast
24
25#endif
virtual void increment(value_type amount)=0