|
idfxx 1.0.0
Modern C++23 components for ESP-IDF
|
Combines an event base with a specific event ID. More...
Public Member Functions | |
| constexpr esp_event_base_t | idf_base () const |
| Returns the underlying ESP-IDF event base. | |
| constexpr int32_t | idf_id () const |
| Returns the event ID as an int32_t. | |
Public Attributes | |
| event_base< IdEnum > | base |
| The event base. | |
| IdEnum | id |
| The event ID. | |
Combines an event base with a specific event ID.
| IdEnum | The enum type for the event ID. |
|
inlineconstexpr |
Returns the underlying ESP-IDF event base.
Definition at line 158 of file event.hpp.
References idfxx::event_type< IdEnum >::base.
|
inlineconstexpr |
Returns the event ID as an int32_t.
Definition at line 164 of file event.hpp.
References idfxx::event_type< IdEnum >::id.
| event_base<IdEnum> idfxx::event_type< IdEnum >::base |
The event base.
Definition at line 150 of file event.hpp.
Referenced by idfxx::event_type< IdEnum >::idf_base(), idfxx::event_loop::try_listener_add(), idfxx::event_loop::try_post(), and idfxx::event_loop::try_post().
| IdEnum idfxx::event_type< IdEnum >::id |
The event ID.
Definition at line 152 of file event.hpp.
Referenced by idfxx::event_type< IdEnum >::idf_id(), idfxx::event_loop::try_listener_add(), idfxx::event_loop::try_post(), and idfxx::event_loop::try_post().