Files
rippled/include/xrpl/beast/insight/GaugeImpl.h
Bart 1d42c4f6de refactor: Remove unnecessary copyright notices already covered by LICENSE.md (#5929)
Per XLS-0095, we are taking steps to rename ripple(d) to xrpl(d).

This change specifically removes all copyright notices referencing Ripple, XRPLF, and certain affiliated contributors upon mutual agreement, so the notice in the LICENSE.md file applies throughout. Copyright notices referencing external contributions remain as-is. Duplicate verbiage is also removed.
2025-11-04 08:33:42 +00:00

29 lines
530 B
C++

#ifndef BEAST_INSIGHT_GAUGEIMPL_H_INCLUDED
#define BEAST_INSIGHT_GAUGEIMPL_H_INCLUDED
#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
#endif