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