Files
rippled/include/xrpl/beast/insight/CounterImpl.h
2025-10-23 11:04:30 -04:00

26 lines
446 B
C++

#ifndef BEAST_INSIGHT_COUNTERIMPL_H_INCLUDED
#define BEAST_INSIGHT_COUNTERIMPL_H_INCLUDED
#include <cstdint>
#include <memory>
namespace beast {
namespace insight {
class Counter;
class CounterImpl : public std::enable_shared_from_this<CounterImpl>
{
public:
using value_type = std::int64_t;
virtual ~CounterImpl() = 0;
virtual void
increment(value_type amount) = 0;
};
} // namespace insight
} // namespace beast
#endif