MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
Lila::EventHandler Concept Reference

Concept for event handler functions. More...

#include <EventBus.hpp>

Concept definition

template<typename T>
concept Lila::EventHandler = requires(T handler, const StreamEvent& event) {
{ handler(event) } -> std::same_as<void>;
}
Concept for event handler functions.
Definition EventBus.hpp:152

Detailed Description

Concept for event handler functions.

Any callable that takes a const StreamEvent& and returns void.

Definition at line 152 of file EventBus.hpp.