µEvLoop
A fast and lightweight event loop aimed at embedded platforms in C99.
|
#include <event.h>
Data Structures | |
struct | uel_event_listener |
Contains the context of a particular signal listener. More... | |
struct | uel_event_observer |
Contains the reference to an observer variable. More... | |
struct | uel_event_signal |
Contains information related to an emitted signal . More... | |
struct | uel_event_timer |
Contains information suitable for scheduling an event at the scheduler. More... | |
Data Fields | |
struct event::uel_event_detail::uel_event_timer | timer |
The scheduling information of this event. Relevant only for timers. | |
struct event::uel_event_detail::uel_event_signal | signal |
The emission information of this event. Relevant only for signals. | |
struct event::uel_event_detail::uel_event_listener | listener |
The listening information of this event. Relevant only for signal listeners. | |
struct event::uel_event_detail::uel_event_observer | observer |
The observing information of this event. Relevant only for observers. | |
Allows to compact many speciffic details on various event types on a single memory slot. Pertinent content depends on the type
member value.