mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-04 17:27:00 +00:00
Co-authored-by: Bart <11445373+bthomee@users.noreply.github.com> Co-authored-by: Bart <bthomee@users.noreply.github.com>
24 lines
423 B
C++
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
|