NorMIT-nav  2023.01.05-dev+develop.0da12
An IGT application
cx::LogFile Class Reference

#include <cxLogFile.h>

Public Member Functions

 LogFile ()
 
virtual ~LogFile ()
 
void writeHeader ()
 
void write (Message message)
 
bool isWritable () const
 
QString getFilename () const
 
std::vector< MessagereadMessages ()
 

Static Public Member Functions

static LogFile fromChannel (QString path, QString channel)
 
static LogFile fromFilename (QString filename)
 

Detailed Description

Definition at line 25 of file cxLogFile.h.

Constructor & Destructor Documentation

◆ LogFile()

cx::LogFile::LogFile ( )
explicit

Definition at line 24 of file cxLogFile.cpp.

◆ ~LogFile()

virtual cx::LogFile::~LogFile ( )
inlinevirtual

Definition at line 31 of file cxLogFile.h.

Member Function Documentation

◆ fromChannel()

LogFile cx::LogFile::fromChannel ( QString  path,
QString  channel 
)
static

Definition at line 30 of file cxLogFile.cpp.

◆ fromFilename()

LogFile cx::LogFile::fromFilename ( QString  filename)
static

Definition at line 43 of file cxLogFile.cpp.

◆ getFilename()

QString cx::LogFile::getFilename ( ) const

Definition at line 38 of file cxLogFile.cpp.

◆ isWritable()

bool cx::LogFile::isWritable ( ) const

Definition at line 66 of file cxLogFile.cpp.

◆ readMessages()

std::vector< Message > cx::LogFile::readMessages ( )

Definition at line 136 of file cxLogFile.cpp.

◆ write()

void cx::LogFile::write ( Message  message)

Definition at line 60 of file cxLogFile.cpp.

◆ writeHeader()

void cx::LogFile::writeHeader ( )

Definition at line 51 of file cxLogFile.cpp.


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