General Purpose Geodetic Library
NsScrPrx4Logger Class Reference

#include <NsScrPrx4Logger.h>

Inheritance diagram for NsScrPrx4Logger:
QObject

Public Types

enum  LogLevel { Err = SgLogger::ERR , Wrn = SgLogger::WRN , Inf = SgLogger::INF , Dbg = SgLogger::DBG }
 
enum  LogFacility {
  IoBin = SgLogger::IO_BIN , IoTxt = SgLogger::IO_TXT , IoNcdf = SgLogger::IO_NCDF , IoDbh = SgLogger::IO_DBH ,
  Io = SgLogger::IO , Matrix = SgLogger::MATRIX , Matrix3d = SgLogger::MATRIX3D , Interp = SgLogger::INTERP ,
  Math = SgLogger::MATH , Obs = SgLogger::OBS , Station = SgLogger::STATION , Source = SgLogger::SOURCE ,
  Session = SgLogger::SESSION , Data = SgLogger::DATA , RefFrame = SgLogger::REF_FRAME , Time = SgLogger::TIME ,
  Iono = SgLogger::IONO , Refraction = SgLogger::REFRACTION , Delay = SgLogger::DELAY , Rate = SgLogger::RATE ,
  FlyBy = SgLogger::FLY_BY , Displacement = SgLogger::DISPLACEMENT , Geo = SgLogger::GEO , Estimator = SgLogger::ESTIMATOR ,
  Pwl = SgLogger::PWL , Stoch = SgLogger::STOCH , Config = SgLogger::CONFIG , Gui = SgLogger::GUI ,
  Report = SgLogger::REPORT , Run = SgLogger::RUN , Preproc = SgLogger::PREPROC , All = SgLogger::ALL
}
 

Public Slots

const QString & getFileName () const
 
const QString & getDirName () const
 
bool getHave2store () const
 
bool getIsMute () const
 
void setFileName (const QString &fname)
 

Public Member Functions

 NsScrPrx4Logger (SgLogger *logger)
 
virtual ~NsScrPrx4Logger ()
 
void setDirName (const QString &dname)
 
void setHave2store (bool have2)
 
void setIsMute (bool is)
 
void write (LogLevel lvl, quint32 f, const QString &s)
 
void addLogFacility (LogLevel lvl, quint32 f)
 
void delLogFacility (LogLevel lvl, quint32 f)
 
bool isEligible (LogLevel lvl, quint32 f) const
 
void rmLogFile ()
 
void clearSpool ()
 
QString className () const
 

Protected Attributes

SgLoggerlogger_
 

Properties

QString fileName
 
QString dirName
 
bool have2store
 
bool isMute
 

Detailed Description

====================================================================================================

Definition at line 101 of file NsScrPrx4Logger.h.

Member Enumeration Documentation

◆ LogFacility

Enumerator
IoBin 
IoTxt 
IoNcdf 
IoDbh 
Io 
Matrix 
Matrix3d 
Interp 
Math 
Obs 
Station 
Source 
Session 
Data 
RefFrame 
Time 
Iono 
Refraction 
Delay 
Rate 
FlyBy 
Displacement 
Geo 
Estimator 
Pwl 
Stoch 
Config 
Gui 
Report 
Run 
Preproc 
All 

Definition at line 125 of file NsScrPrx4Logger.h.

◆ LogLevel

Enumerator
Err 
Wrn 
Inf 
Dbg 

Definition at line 117 of file NsScrPrx4Logger.h.

Constructor & Destructor Documentation

◆ NsScrPrx4Logger()

NsScrPrx4Logger::NsScrPrx4Logger ( SgLogger logger)

A constructor.

Definition at line 35 of file NsScrPrx4Logger.cpp.

References logger, and logger_.

◆ ~NsScrPrx4Logger()

NsScrPrx4Logger::~NsScrPrx4Logger ( )
virtual

A destructor. Frees allocated memory.

Definition at line 43 of file NsScrPrx4Logger.cpp.

References logger_.

Member Function Documentation

◆ addLogFacility()

void NsScrPrx4Logger::addLogFacility ( LogLevel  lvl,
quint32  f 
)
inline

Definition at line 192 of file NsScrPrx4Logger.h.

References SgLogger::addLogFacility(), and logger_.

◆ className()

QString NsScrPrx4Logger::className ( ) const
inline

Definition at line 208 of file NsScrPrx4Logger.h.

◆ clearSpool()

void NsScrPrx4Logger::clearSpool ( )
inline

Definition at line 200 of file NsScrPrx4Logger.h.

References SgLogger::clearSpool(), and logger_.

◆ delLogFacility()

void NsScrPrx4Logger::delLogFacility ( LogLevel  lvl,
quint32  f 
)
inline

Definition at line 194 of file NsScrPrx4Logger.h.

References SgLogger::delLogFacility(), and logger_.

◆ getDirName

const QString& NsScrPrx4Logger::getDirName ( ) const
inlineslot

Definition at line 180 of file NsScrPrx4Logger.h.

References SgLogger::getDirName(), and logger_.

◆ getFileName

const QString& NsScrPrx4Logger::getFileName ( ) const
inlineslot

Definition at line 179 of file NsScrPrx4Logger.h.

References SgLogger::getFileName(), and logger_.

◆ getHave2store

bool NsScrPrx4Logger::getHave2store ( ) const
inlineslot

Definition at line 181 of file NsScrPrx4Logger.h.

References SgLogger::getIsStoreInFile(), and logger_.

◆ getIsMute

bool NsScrPrx4Logger::getIsMute ( ) const
inlineslot

Definition at line 182 of file NsScrPrx4Logger.h.

References SgLogger::getIsMute(), and logger_.

◆ isEligible()

bool NsScrPrx4Logger::isEligible ( LogLevel  lvl,
quint32  f 
) const
inline

Definition at line 196 of file NsScrPrx4Logger.h.

References SgLogger::isEligible(), and logger_.

◆ rmLogFile()

void NsScrPrx4Logger::rmLogFile ( )
inline

Definition at line 199 of file NsScrPrx4Logger.h.

References logger_, and SgLogger::rmLogFile().

◆ setDirName()

void NsScrPrx4Logger::setDirName ( const QString &  dname)
inline

Definition at line 185 of file NsScrPrx4Logger.h.

References logger_, and SgLogger::setDirName().

◆ setFileName

void NsScrPrx4Logger::setFileName ( const QString &  fname)
inlineslot

Definition at line 184 of file NsScrPrx4Logger.h.

References logger_, and SgLogger::setFileName().

◆ setHave2store()

void NsScrPrx4Logger::setHave2store ( bool  have2)
inline

Definition at line 186 of file NsScrPrx4Logger.h.

References logger_, and SgLogger::setIsStoreInFile().

◆ setIsMute()

void NsScrPrx4Logger::setIsMute ( bool  is)
inline

Definition at line 187 of file NsScrPrx4Logger.h.

References logger_, and SgLogger::setIsMute().

◆ write()

void NsScrPrx4Logger::write ( LogLevel  lvl,
quint32  f,
const QString &  s 
)
inline

Definition at line 190 of file NsScrPrx4Logger.h.

References logger_, and SgLogger::write().

Member Data Documentation

◆ logger_

Property Documentation

◆ dirName

QString NsScrPrx4Logger::dirName
readwrite

Definition at line 92 of file NsScrPrx4Logger.h.

◆ fileName

QString NsScrPrx4Logger::fileName
readwrite

Definition at line 92 of file NsScrPrx4Logger.h.

◆ have2store

bool NsScrPrx4Logger::have2store
readwrite

Definition at line 92 of file NsScrPrx4Logger.h.

◆ isMute

bool NsScrPrx4Logger::isMute
readwrite

Definition at line 92 of file NsScrPrx4Logger.h.


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