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