Files
rippled/include/xrpl/beast/insight/GaugeImpl.h
2026-04-21 15:32:51 +00:00

24 lines
423 B
C++

#pragma once
#include <cstdint>
#include <memory>
namespace beast::insight {
class Gauge;
class GaugeImpl : public std::enable_shared_from_this<GaugeImpl>
{
public:
using value_type = std::uint64_t;
using difference_type = std::int64_t;
virtual ~GaugeImpl() = 0;
virtual void
set(value_type value) = 0;
virtual void
increment(difference_type amount) = 0;
};
} // namespace beast::insight