Abstract event handler, used by Dispatcher
to get called back when an event of the expected type is dispatched.
More...
#include <fastarduino/events.h>
|
uint8_t | type () const INLINE |
| The type of event that this handler accepts and can act upon. More...
|
|
|
using | T = EventHandler< EVENT > |
| The type of item wrapped by this class. More...
|
|
template<typename EVENT>
class events::EventHandler< EVENT >
Abstract event handler, used by Dispatcher
to get called back when an event of the expected type is dispatched.
- Template Parameters
-
- See also
- Dispatcher::dispatch()
Definition at line 287 of file events.h.
◆ EventHandler()
template<typename EVENT >
Create an Event Handler for given type
of event.
- Parameters
-
type | the evnt type handled by this handler |
Definition at line 317 of file events.h.
◆ type()
template<typename EVENT >
The type of event that this handler accepts and can act upon.
Definition at line 295 of file events.h.
◆ on_event()
template<typename EVENT >
◆ Dispatcher< EVENT >
template<typename EVENT >
The documentation for this class was generated from the following file: