template<typename IdEnum>
class idfxx::event_base< IdEnum >
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. |
enum class my_event_id { started, stopped };
Typed event base template.
#define IDFXX_EVENT_DEFINE_BASE(name, id_enum)
Defines an event base.
@ wifi
Chip has 2.4GHz WiFi.
Definition at line 90 of file event.hpp.