|
sdi_toolBox
|
Lightweight thread-safe event bus for decoupled message passing. More...
Classes | |
| class | Bus |
| Central message dispatcher for the event bus system. More... | |
| class | INode |
| Abstract interface representing a subscriber node in the event bus system. More... | |
| class | Message |
| Base class for all messages dispatched through the event bus. More... | |
| class | Node |
| Concrete subscriber node in the event bus system. More... | |
Typedefs | |
| using | MessageTypeID = uint64_t |
| Unique identifier for a message type. | |
| using | TimePoint = std::chrono::steady_clock::time_point |
| Monotonic timestamp type used throughout the event bus. | |
Lightweight thread-safe event bus for decoupled message passing.
The eventBus namespace provides a publish/subscribe messaging system that allows decoupled communication between components. It is built around three core concepts:
Nodes can subscribe to specific message types or to broadcast mode. All operations are thread-safe.
| using MessageTypeID = uint64_t |