Communication Library for Autonomous Systems v1.0
Reliable and secure communication library for autonomous vehicle systems
Loading...
Searching...
No Matches
CSVLogger Class Reference

#include <csv_logger.h>

Public Member Functions

 CSVLogger (const std::string &filepath, const std::string &header)
 
 ~CSVLogger ()
 
void log (const std::string &csv_line)
 
void flush ()
 
bool is_open () const
 

Static Public Member Functions

static std::string create_vehicle_log_dir (unsigned int vehicle_id)
 

Constructor & Destructor Documentation

◆ CSVLogger()

CSVLogger::CSVLogger ( const std::string &  filepath,
const std::string &  header 
)
inline

◆ ~CSVLogger()

CSVLogger::~CSVLogger ( )
inline

Member Function Documentation

◆ create_vehicle_log_dir()

std::string CSVLogger::create_vehicle_log_dir ( unsigned int  vehicle_id)
inlinestatic

◆ flush()

void CSVLogger::flush ( )
inline

◆ is_open()

bool CSVLogger::is_open ( ) const
inline

◆ log()

void CSVLogger::log ( const std::string &  csv_line)
inline

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