mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
Co-authored-by: Bart <11445373+bthomee@users.noreply.github.com> Co-authored-by: Bart <bthomee@users.noreply.github.com>
21 lines
342 B
C++
21 lines
342 B
C++
#pragma once
|
|
|
|
#include <chrono>
|
|
#include <memory>
|
|
|
|
namespace beast::insight {
|
|
|
|
class Event;
|
|
|
|
class EventImpl : public std::enable_shared_from_this<EventImpl>
|
|
{
|
|
public:
|
|
using value_type = std::chrono::milliseconds;
|
|
|
|
virtual ~EventImpl() = 0;
|
|
virtual void
|
|
notify(value_type const& value) = 0;
|
|
};
|
|
|
|
} // namespace beast::insight
|