Eunomia
0.1.0
A lightweight eBPF-based CloudNative Monitor tool for Container Security and Observability
|
Event handler type switcher. More...
#include <event_handler.h>
Public Member Functions | |
virtual | ~event_handler_adapter ()=default |
virtual tracker_event< T1 > | adapt (tracker_event< T2 > &e)=0 |
std::shared_ptr< event_handler< T1 > > | add_handler (std::shared_ptr< event_handler< T1 >> handler) |
void | do_handle_event (tracker_event< T2 > &e) |
Public Member Functions inherited from event_handler_base< T2 > | |
virtual | ~event_handler_base ()=default |
virtual void | handle (tracker_event< T2 > &e)=0 |
Public Attributes | |
std::shared_ptr< event_handler_base< T2 > > | next_handler = nullptr |
Event handler type switcher.
all switch type event hanlder should inherit from this class
|
virtualdefault |
|
pure virtual |
|
inline |
|
inlinevirtual |
std::shared_ptr<event_handler_base<T2> > event_handler_adapter< T1, T2 >::next_handler = nullptr |