General Purpose Geodetic Library
|
#include <NsScrPrx4Logger.h>
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 |
int | getReturnCode () const |
quint32 | getLogFacility (LogLevel lvl) const |
Public Member Functions | |
NsScrPrx4Logger (SgLogger *logger) | |
virtual | ~NsScrPrx4Logger () |
void | setFileName (const QString &fname) |
void | setDirName (const QString &dname) |
void | setHave2store (bool have2) |
void | setIsMute (bool is) |
void | setReturnCode (int rc) |
void | write (LogLevel lvl, quint32 f, const QString &s) |
void | addLogFacility (LogLevel lvl, quint32 f) |
void | delLogFacility (LogLevel lvl, quint32 f) |
void | selLogFacility (LogLevel lvl, quint32 f) |
bool | isEligible (LogLevel lvl, quint32 f) const |
void | rmLogFile () |
void | clearSpool () |
QString | className () const |
Protected Attributes | |
SgLogger * | logger_ |
int | returnCode_ |
Properties | |
QString | fileName |
QString | dirName |
bool | have2store |
bool | isMute |
int | returnCode |
====================================================================================================
Definition at line 101 of file NsScrPrx4Logger.h.
Definition at line 127 of file NsScrPrx4Logger.h.
Enumerator | |
---|---|
Err | |
Wrn | |
Inf | |
Dbg |
Definition at line 119 of file NsScrPrx4Logger.h.
NsScrPrx4Logger::NsScrPrx4Logger | ( | SgLogger * | logger | ) |
A constructor.
Definition at line 35 of file NsScrPrx4Logger.cpp.
References logger, logger_, and returnCode_.
|
virtual |
A destructor. Frees allocated memory.
Definition at line 44 of file NsScrPrx4Logger.cpp.
References logger_.
|
inline |
Definition at line 199 of file NsScrPrx4Logger.h.
References SgLogger::addLogFacility(), and logger_.
|
inline |
Definition at line 217 of file NsScrPrx4Logger.h.
|
inline |
Definition at line 209 of file NsScrPrx4Logger.h.
References SgLogger::clearSpool(), and logger_.
|
inline |
Definition at line 201 of file NsScrPrx4Logger.h.
References SgLogger::delLogFacility(), and logger_.
|
inlineslot |
Definition at line 182 of file NsScrPrx4Logger.h.
References SgLogger::getDirName(), and logger_.
|
inlineslot |
Definition at line 181 of file NsScrPrx4Logger.h.
References SgLogger::getFileName(), and logger_.
|
inlineslot |
Definition at line 183 of file NsScrPrx4Logger.h.
References SgLogger::getIsStoreInFile(), and logger_.
|
inlineslot |
Definition at line 184 of file NsScrPrx4Logger.h.
References SgLogger::getIsMute(), and logger_.
|
inlineslot |
Definition at line 187 of file NsScrPrx4Logger.h.
References SgLogger::getLogFacility(), and logger_.
|
inlineslot |
Definition at line 185 of file NsScrPrx4Logger.h.
References returnCode_.
Referenced by executeScript().
|
inline |
Definition at line 205 of file NsScrPrx4Logger.h.
References SgLogger::isEligible(), and logger_.
|
inline |
Definition at line 208 of file NsScrPrx4Logger.h.
References logger_, and SgLogger::rmLogFile().
|
inline |
Definition at line 203 of file NsScrPrx4Logger.h.
References logger_, and SgLogger::setLogFacility().
|
inline |
Definition at line 191 of file NsScrPrx4Logger.h.
References logger_, and SgLogger::setDirName().
|
inline |
Definition at line 190 of file NsScrPrx4Logger.h.
References logger_, and SgLogger::setFileName().
|
inline |
Definition at line 192 of file NsScrPrx4Logger.h.
References logger_, and SgLogger::setIsStoreInFile().
|
inline |
Definition at line 193 of file NsScrPrx4Logger.h.
References logger_, and SgLogger::setIsMute().
|
inline |
Definition at line 194 of file NsScrPrx4Logger.h.
References returnCode_.
|
inline |
Definition at line 197 of file NsScrPrx4Logger.h.
References logger_, and SgLogger::write().
|
protected |
Definition at line 231 of file NsScrPrx4Logger.h.
Referenced by NsScrPrx4Logger(), ~NsScrPrx4Logger(), addLogFacility(), clearSpool(), delLogFacility(), getDirName(), getFileName(), getHave2store(), getIsMute(), getLogFacility(), isEligible(), rmLogFile(), selLogFacility(), setDirName(), setFileName(), setHave2store(), setIsMute(), and write().
|
protected |
Definition at line 232 of file NsScrPrx4Logger.h.
Referenced by NsScrPrx4Logger(), getReturnCode(), and setReturnCode().
|
readwrite |
Definition at line 92 of file NsScrPrx4Logger.h.
|
readwrite |
Definition at line 92 of file NsScrPrx4Logger.h.
|
readwrite |
Definition at line 92 of file NsScrPrx4Logger.h.
|
readwrite |
Definition at line 92 of file NsScrPrx4Logger.h.
|
readwrite |
Definition at line 92 of file NsScrPrx4Logger.h.