Monitoring System 0.1.0
System resource monitoring with pluggable collectors and alerting
Loading...
Searching...
No Matches
event_bus.h File Reference

Lightweight event bus implementation for monitoring system. More...

#include <algorithm>
#include <any>
#include <atomic>
#include <chrono>
#include <condition_variable>
#include <cstdint>
#include <functional>
#include <memory>
#include <mutex>
#include <queue>
#include <thread>
#include <typeindex>
#include <unordered_map>
#include <vector>
#include "../interfaces/event_bus_interface.h"
#include "result_types.h"
#include "error_codes.h"
Include dependency graph for event_bus.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  kcenon::monitoring::event_envelope
 Container for events with metadata. More...
 
class  kcenon::monitoring::event_handler_wrapper
 Wrapper for event handlers with metadata. More...
 
struct  kcenon::monitoring::event_bus_config
 Configuration for event bus. More...
 
class  kcenon::monitoring::event_bus
 Thread-safe event bus implementation. More...
 
struct  kcenon::monitoring::event_bus::stats
 

Namespaces

namespace  kcenon
 
namespace  kcenon::monitoring
 

Detailed Description

Lightweight event bus implementation for monitoring system.

This file implements a thread-safe, high-performance event bus that enables decoupled communication between monitoring components using the publish-subscribe pattern.

Definition in file event_bus.h.