|
Monitoring System 0.1.0
System resource monitoring with pluggable collectors and alerting
|
Interface for components that publish events. More...
#include <event_bus_interface.h>

Public Member Functions | |
| virtual | ~interface_event_publisher ()=default |
| virtual common::VoidResult | set_event_bus (std::shared_ptr< interface_event_bus > bus)=0 |
| Set the event bus for publishing. | |
| virtual std::shared_ptr< interface_event_bus > | get_event_bus () const =0 |
| Get the current event bus. | |
Interface for components that publish events.
Components implementing this interface can publish events to an event bus. This provides a standardized way to decouple event producers from consumers.
Definition at line 419 of file event_bus_interface.h.
|
virtualdefault |
|
pure virtual |
Get the current event bus.
|
pure virtual |
Set the event bus for publishing.
| bus | The event bus to use |