OpenCPN Partial API docs
Loading...
Searching...
No Matches
DataLogger Class Reference

Public Types

enum class  Format { kVdr , kDefault , kCsv }
 

Public Member Functions

 DataLogger (wxWindow *parent, const fs::path &path)
 
 DataLogger (wxWindow *parent)
 
void SetLogging (bool logging)
 
void SetLogfile (const fs::path &path)
 
void Add (const Logline &ll)
 
void SetFormat (Format format)
 
fs::path GetLogfile ()
 

Detailed Description

Definition at line 37 of file data_monitor.h.

Member Enumeration Documentation

◆ Format

enum class DataLogger::Format
strong

Definition at line 39 of file data_monitor.h.

Constructor & Destructor Documentation

◆ DataLogger() [1/2]

DataLogger::DataLogger ( wxWindow * parent,
const fs::path & path )

Definition at line 704 of file data_monitor.cpp.

◆ DataLogger() [2/2]

DataLogger::DataLogger ( wxWindow * parent)

Definition at line 711 of file data_monitor.cpp.

Member Function Documentation

◆ Add()

void DataLogger::Add ( const Logline & ll)

Definition at line 732 of file data_monitor.cpp.

◆ GetLogfile()

fs::path DataLogger::GetLogfile ( )
inline

Definition at line 53 of file data_monitor.h.

◆ SetFormat()

void DataLogger::SetFormat ( DataLogger::Format format)

Definition at line 723 of file data_monitor.cpp.

◆ SetLogfile()

void DataLogger::SetLogfile ( const fs::path & path)

Definition at line 716 of file data_monitor.cpp.

◆ SetLogging()

void DataLogger::SetLogging ( bool logging)

Definition at line 714 of file data_monitor.cpp.


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