mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-05 09:46:53 +00:00
This change replaces all include guards in the `src/` and `include/` directories by `#pragma once`.
26 lines
449 B
C++
26 lines
449 B
C++
#pragma once
|
|
|
|
#include <cstdint>
|
|
#include <memory>
|
|
|
|
namespace beast {
|
|
namespace 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 insight
|
|
} // namespace beast
|