42template <
class T_topic,
class T_msg,
class T_data>
Definition CallbackEventListener.h:43
std::function< void(T_topic, T_msg)> EventListenerCallback
Callback function type for event handling.
Definition CallbackEventListener.h:50
CallbackEventListener(EventListenerCallback callback)
Constructs a CallbackEventListener with the given callback function.
Definition CallbackEventListener.cpp:24
virtual void onEventReceived(T_topic topic, T_msg msg)
Handler called when an event is received.
Definition CallbackEventListener.cpp:28
Definition EventListener.h:42
CallbackEventListener< unsigned int, int, Bytes > CoreCallbackEventListener
Convenience alias for the most common usage of CallbackEventListener.
Definition CallbackEventListener.h:78
Contains all classes and functions related to the Uniot Core.