|
Monitoring System 0.1.0
System resource monitoring with pluggable collectors and alerting
|
Container for events with metadata. More...
#include <event_bus.h>

Public Member Functions | |
| event_envelope (std::type_index t, std::any p, event_priority pr) | |
| bool | operator< (const event_envelope &other) const |
Public Attributes | |
| std::type_index | type |
| std::any | payload |
| event_priority | priority |
| std::chrono::steady_clock::time_point | timestamp |
| uint64_t | id |
Static Private Member Functions | |
| static uint64_t | generate_id () |
Container for events with metadata.
Definition at line 41 of file event_bus.h.
|
inline |
Definition at line 48 of file event_bus.h.
|
inlinestaticprivate |
Definition at line 63 of file event_bus.h.
References kcenon::monitoring::counter.
|
inline |
Definition at line 53 of file event_bus.h.
References kcenon::monitoring::other, priority, and timestamp.
| uint64_t kcenon::monitoring::event_envelope::id |
Definition at line 46 of file event_bus.h.
| std::any kcenon::monitoring::event_envelope::payload |
Definition at line 43 of file event_bus.h.
Referenced by kcenon::monitoring::event_bus::dispatch_event().
| event_priority kcenon::monitoring::event_envelope::priority |
Definition at line 44 of file event_bus.h.
Referenced by operator<().
| std::chrono::steady_clock::time_point kcenon::monitoring::event_envelope::timestamp |
Definition at line 45 of file event_bus.h.
Referenced by operator<().
| std::type_index kcenon::monitoring::event_envelope::type |
Definition at line 42 of file event_bus.h.
Referenced by kcenon::monitoring::event_bus::dispatch_event().