Monitoring System 0.1.0
System resource monitoring with pluggable collectors and alerting
Loading...
Searching...
No Matches
kcenon::monitoring::event_handler_wrapper Class Reference

Wrapper for event handlers with metadata. More...

#include <event_bus.h>

Collaboration diagram for kcenon::monitoring::event_handler_wrapper:
Collaboration graph

Public Member Functions

 event_handler_wrapper (std::function< void(const std::any &)> h, event_priority p, uint64_t i)
 

Public Attributes

std::function< void(const std::any &)> handler
 
event_priority priority
 
uint64_t id
 

Detailed Description

Wrapper for event handlers with metadata.

Definition at line 73 of file event_bus.h.

Constructor & Destructor Documentation

◆ event_handler_wrapper()

kcenon::monitoring::event_handler_wrapper::event_handler_wrapper ( std::function< void(const std::any &)> h,
event_priority p,
uint64_t i )
inline

Member Data Documentation

◆ handler

std::function<void(const std::any&)> kcenon::monitoring::event_handler_wrapper::handler

◆ id

uint64_t kcenon::monitoring::event_handler_wrapper::id

◆ priority


The documentation for this class was generated from the following file: