![]() |
|
Uniot Core
|
| 0.8.1 |
Listener for EventBus events that can subscribe to specific topics. More...
Topics | |
| Callback Listener | |
| An event listener implementation that uses a callback function. | |
Classes | |
| class | uniot::EventListener< T_topic, T_msg, T_data > |
Typedefs | |
| using | uniot::CoreEventListener = EventListener<unsigned int, int, Bytes> |
| Type alias for the common EventListener configuration used in the core system. | |
Listener for EventBus events that can subscribe to specific topics.
EventListener is a base class for objects that need to listen to events on the event bus. It extends EventEmitter to also allow for receiving events through the event system.
| T_topic | Type used for topic identification (e.g. unsigned int) |
| T_msg | Type used for message payload (e.g. int) |
| T_data | Type used for additional data (e.g. Bytes) |
| using uniot::CoreEventListener = EventListener<unsigned int, int, Bytes> |
Type alias for the common EventListener configuration used in the core system.
Uses unsigned int for topics, int for messages, and Bytes for data