Uniot Core
0.8.1
Loading...
Searching...
No Matches

The EventBus is a central communication hub for event-driven architecture. More...

Collaboration diagram for Event Bus:

Topics

 Connection Kit
 Interface for components that need to connect to an EventBus.
 

Classes

class  uniot::EventBus< T_topic, T_msg, T_data >
 

Typedefs

using uniot::CoreEventBus = EventBus<unsigned int, int, Bytes>
 Standard EventBus configuration used throughout the core system.
 

Detailed Description

The EventBus is a central communication hub for event-driven architecture.

EventBus implements a publish-subscribe pattern allowing decoupled components to communicate through events. It manages event subscriptions, broadcasts events to interested listeners, and provides data channel functionality for asynchronous data exchange between components.

Template Parameters
T_topicType used for event topics (typically unsigned int)
T_msgType used for event messages (typically int)
T_dataType used for data channel payloads (typically Bytes)

Typedef Documentation

◆ CoreEventBus

using uniot::CoreEventBus = EventBus<unsigned int, int, Bytes>

Standard EventBus configuration used throughout the core system.

Uses unsigned int for topics, int for messages, and Bytes for data payloads