Radix Relay
Hybrid mesh communications with Signal Protocol encryption
Loading...
Searching...
No Matches
event_handler.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
core/events.hpp
>
4
5
namespace
radix_relay::concepts
{
6
12
template
<
typename
T>
13
concept
event_handler
=
requires
(T handler,
const
core::events::raw_command &raw_cmd) { handler.handle(raw_cmd); };
14
15
}
// namespace radix_relay::concepts
radix_relay::concepts::event_handler
Concept defining the interface for handling raw command events.
Definition
event_handler.hpp:13
events.hpp
radix_relay::concepts
Definition
command_handler.hpp:5
lib
core
include
concepts
event_handler.hpp
Generated by
1.9.8