xrpld
Loading...
Searching...
No Matches
include
xrpl
beast
insight
EventImpl.h
1
#pragma once
2
3
#include <
chrono
>
4
#include <
memory
>
5
6
namespace
beast::insight
{
7
8
class
Event
;
9
10
class
EventImpl
:
public
std::enable_shared_from_this
<EventImpl>
11
{
12
public
:
13
using
value_type
=
std::chrono::milliseconds
;
14
15
virtual
~EventImpl
() = 0;
16
virtual
void
17
notify
(
value_type
const
& value) = 0;
18
};
19
20
}
// namespace beast::insight
chrono
beast::insight::EventImpl
Definition
EventImpl.h:11
beast::insight::EventImpl::~EventImpl
virtual ~EventImpl()=0
beast::insight::EventImpl::notify
virtual void notify(value_type const &value)=0
beast::insight::EventImpl::value_type
std::chrono::milliseconds value_type
Definition
EventImpl.h:13
beast::insight::Event
A metric for reporting event timing.
Definition
Event.h:21
std::chrono::milliseconds
std::enable_shared_from_this
memory
beast::insight
Definition
Collector.h:11
Generated by
1.16.1