Eunomia  0.1.0
A lightweight eBPF-based CloudNative Monitor tool for Container Security and Observability
tracker_with_config< ENV, EVENT > Class Template Reference

tracker template with env and data More...

#include <tracker.h>

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

Classes

struct  csv_event_printer
 print to csv More...
 
struct  json_event_printer
 used for json exporter, inherits from json_event_handler More...
 
struct  plain_text_event_printer
 print to plain text More...
 
struct  prometheus_event_handler
 default event handlers for prometheus More...
 

Public Types

using event = EVENT
 type alias for event More...
 
using config_data = tracker_config< ENV, EVENT >
 type alias for env and config More...
 
using tracker_event_handler = std::shared_ptr< event_handler< EVENT > >
 type alias for event handler More...
 

Public Member Functions

 tracker_with_config (tracker_config< ENV, EVENT > config)
 
virtual ~tracker_with_config ()
 
- Public Member Functions inherited from tracker_base
virtual ~tracker_base ()
 constructor More...
 
virtual void start_tracker (void)=0
 start the tracker thread More...
 
void stop_tracker (void)
 stop the tracker thread More...
 

Public Attributes

tracker_config< ENV, EVENT > current_config
 config data More...
 
- Public Attributes inherited from tracker_base
volatile bool exiting
 is the tracker exiting More...
 

Detailed Description

template<typename ENV, typename EVENT>
class tracker_with_config< ENV, EVENT >

tracker template with env and data

all tracker should inherit from this class

Member Typedef Documentation

◆ config_data

template<typename ENV , typename EVENT >
using tracker_with_config< ENV, EVENT >::config_data = tracker_config<ENV, EVENT>

type alias for env and config

◆ event

template<typename ENV , typename EVENT >
using tracker_with_config< ENV, EVENT >::event = EVENT

type alias for event

◆ tracker_event_handler

template<typename ENV , typename EVENT >
using tracker_with_config< ENV, EVENT >::tracker_event_handler = std::shared_ptr<event_handler<EVENT> >

type alias for event handler

Constructor & Destructor Documentation

◆ tracker_with_config()

template<typename ENV , typename EVENT >
tracker_with_config< ENV, EVENT >::tracker_with_config ( tracker_config< ENV, EVENT >  config)
inline

◆ ~tracker_with_config()

template<typename ENV , typename EVENT >
virtual tracker_with_config< ENV, EVENT >::~tracker_with_config ( )
inlinevirtual

Member Data Documentation

◆ current_config

template<typename ENV , typename EVENT >
tracker_config<ENV, EVENT> tracker_with_config< ENV, EVENT >::current_config

config data


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