Radix Relay
Hybrid mesh communications with Signal Protocol encryption
Loading...
Searching...
No Matches
radix_relay::concepts::event_handler Concept Reference

Concept defining the interface for handling raw command events. More...

#include <event_handler.hpp>

Concept definition

template<typename T>
concept radix_relay::concepts::event_handler = requires(T handler, const core::events::raw_command &raw_cmd) { handler.handle(raw_cmd); }
Concept defining the interface for handling raw command events.

Detailed Description

Concept defining the interface for handling raw command events.

Types satisfying this concept must provide a handle() method for raw_command events.

Definition at line 13 of file event_handler.hpp.