Typed event base template.
Represents a category of related events, parameterized by an enum type that defines the specific event IDs within that category. This ensures type safety when registering listeners and posting events.
- Template Parameters
-
| IdEnum | The enum type for event IDs within this base. |
#define IDFXX_EVENT_DEFINE_BASE(name, id_enum)
Defines an event base.
@ wifi
Chip has 2.4GHz WiFi.
std::expected< T, std::error_code > result
result type wrapping a value or error code.
Definition at line 90 of file event.hpp.