Thread System 0.3.1
High-performance C++20 thread pool with work stealing and DAG scheduling
Loading...
Searching...
No Matches
event_bus.h File Reference

Type-safe publish-subscribe event bus for thread system events. More...

#include <any>
#include <functional>
#include <memory>
#include <mutex>
#include <typeindex>
#include <unordered_map>
#include <vector>
#include <kcenon/thread/core/thread_pool.h>
#include <kcenon/thread/core/thread_pool_builder.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::thread::event_base
 Event base class for type safety. More...
 
class  kcenon::thread::event_bus
 Event Bus for publish-subscribe pattern. More...
 
class  kcenon::thread::event_bus::subscription
 Subscription handle for managing subscriptions. More...
 
struct  kcenon::thread::system_startup_event
 System startup event. More...
 
struct  kcenon::thread::system_shutdown_event
 System shutdown event. More...
 
struct  kcenon::thread::config_changed_event
 Configuration changed event. More...
 
struct  kcenon::thread::performance_alert_event
 Performance alert event. More...
 

Namespaces

namespace  kcenon
 
namespace  kcenon::thread
 Core threading foundation of the thread system library.
 

Detailed Description

Type-safe publish-subscribe event bus for thread system events.

Definition in file event_bus.h.