Eunomia  0.1.0
A lightweight eBPF-based CloudNative Monitor tool for Container Security and Observability
tracker_with_config< ENV, EVENT >::json_event_printer Struct Referencefinal

used for json exporter, inherits from json_event_handler More...

#include <tracker.h>

Inheritance diagram for tracker_with_config< ENV, EVENT >::json_event_printer:
Inheritance graph
Collaboration diagram for tracker_with_config< ENV, EVENT >::json_event_printer:
Collaboration graph

Public Member Functions

void handle (tracker_event< EVENT > &e)
 implement this function to handle the event More...
 
- Public Member Functions inherited from event_handler< EVENT >
virtual ~event_handler ()=default
 
std::shared_ptr< event_handler< EVENT > > add_handler (std::shared_ptr< event_handler< EVENT >> handler)
 add a next handler after this handler More...
 
void do_handle_event (tracker_event< EVENT > &e)
 
- Public Member Functions inherited from event_handler_base< EVENT >
virtual ~event_handler_base ()=default
 

Additional Inherited Members

- Public Attributes inherited from event_handler< EVENT >
std::shared_ptr< event_handler_base< EVENT > > next_handler
 

Detailed Description

template<typename ENV, typename EVENT>
struct tracker_with_config< ENV, EVENT >::json_event_printer

used for json exporter, inherits from json_event_handler

Member Function Documentation

◆ handle()

template<typename ENV , typename EVENT >
void tracker_with_config< ENV, EVENT >::json_event_printer::handle ( tracker_event< EVENT > &  e)
inlinevirtual

implement this function to handle the event

Implements event_handler< EVENT >.


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