rippled
Loading...
Searching...
No Matches
include
xrpl
beast
insight
GaugeImpl.h
1
#pragma once
2
3
#include <
cstdint
>
4
#include <
memory
>
5
6
namespace
beast
{
7
namespace
insight {
8
9
class
Gauge;
10
11
class
GaugeImpl
:
public
std::enable_shared_from_this
<GaugeImpl>
12
{
13
public
:
14
using
value_type
=
std::uint64_t
;
15
using
difference_type
=
std::int64_t
;
16
17
virtual
~GaugeImpl
() = 0;
18
virtual
void
19
set
(
value_type
value) = 0;
20
virtual
void
21
increment
(
difference_type
amount) = 0;
22
};
23
24
}
// namespace insight
25
}
// namespace beast
beast::insight::GaugeImpl
Definition
GaugeImpl.h:12
beast::insight::GaugeImpl::~GaugeImpl
virtual ~GaugeImpl()=0
beast::insight::GaugeImpl::increment
virtual void increment(difference_type amount)=0
beast::insight::GaugeImpl::set
virtual void set(value_type value)=0
cstdint
std::enable_shared_from_this
std::uint64_t
memory
beast
Definition
base_uint.h:637
Generated by
1.9.8