Grid 0.7.0
GridLogger Class Reference

#include <Log.h>

Inheritance diagram for GridLogger:
Logger

Public Member Functions

 GridLogger (int on, std::string nm, Colours &col_class, std::string col_key="NORMAL")
std::string background ()
std::string evidence ()
std::string colour ()
void Active (int on)
int isActive (void)
void Reset (void)
void TimingMode (int on)
void setTopWidth (const int w)
void setChanWidth (const int w)

Static Public Member Functions

static void Timestamp (int on)

Data Fields

GridStopWatch LocalStopWatch
GridStopWatchStopWatch

Static Public Attributes

static GridStopWatch GlobalStopWatch
static std::ostream devnull

Protected Attributes

ColoursPainter
int active
int timing_mode
int topWidth
int chanWidth
std::string name
std::string topName
std::string COLOUR

Static Protected Attributes

static int timestamp

Detailed Description

Definition at line 168 of file Log.h.

Constructor & Destructor Documentation

◆ GridLogger()

GridLogger::GridLogger ( int on,
std::string nm,
Colours & col_class,
std::string col_key = "NORMAL" )
inline

Definition at line 170 of file Log.h.

References Logger::Logger().

Member Function Documentation

◆ background()

std::string Logger::background ( )
inlineinherited

Definition at line 99 of file Log.h.

References Painter.

◆ evidence()

std::string Logger::evidence ( )
inlineinherited

Definition at line 100 of file Log.h.

References Painter.

◆ colour()

std::string Logger::colour ( )
inlineinherited

Definition at line 101 of file Log.h.

References COLOUR, and Painter.

◆ Active()

void Logger::Active ( int on)
inlineinherited

Definition at line 113 of file Log.h.

References active.

◆ isActive()

int Logger::isActive ( void )
inlineinherited

Definition at line 114 of file Log.h.

References active.

◆ Timestamp()

void Logger::Timestamp ( int on)
inlinestaticinherited

Definition at line 115 of file Log.h.

References timestamp.

Referenced by GridLogTimestamp().

◆ Reset()

void Logger::Reset ( void )
inlineinherited

Definition at line 116 of file Log.h.

References StopWatch.

Referenced by TimingMode().

◆ TimingMode()

void Logger::TimingMode ( int on)
inlineinherited

Definition at line 120 of file Log.h.

References LocalStopWatch, Reset(), StopWatch, and timing_mode.

◆ setTopWidth()

void Logger::setTopWidth ( const int w)
inlineinherited

Definition at line 127 of file Log.h.

References topWidth.

◆ setChanWidth()

void Logger::setChanWidth ( const int w)
inlineinherited

Definition at line 128 of file Log.h.

References chanWidth.

Field Documentation

◆ Painter

Colours& Logger::Painter
protectedinherited

Definition at line 85 of file Log.h.

Referenced by background(), colour(), evidence(), and Logger().

◆ active

int Logger::active
protectedinherited

Definition at line 86 of file Log.h.

Referenced by Active(), isActive(), and Logger().

◆ timing_mode

int Logger::timing_mode
protectedinherited

Definition at line 87 of file Log.h.

Referenced by Logger(), and TimingMode().

◆ topWidth

int Logger::topWidth
protectedinherited

Definition at line 88 of file Log.h.

Referenced by setTopWidth().

◆ chanWidth

int Logger::chanWidth
protectedinherited

Definition at line 88 of file Log.h.

Referenced by setChanWidth().

◆ timestamp

int Logger::timestamp
staticprotectedinherited

Definition at line 89 of file Log.h.

Referenced by Timestamp().

◆ name

std::string Logger::name
protectedinherited

Definition at line 90 of file Log.h.

Referenced by Logger().

◆ topName

std::string Logger::topName
protectedinherited

Definition at line 90 of file Log.h.

Referenced by Logger().

◆ COLOUR

std::string Logger::COLOUR
protectedinherited

Definition at line 91 of file Log.h.

Referenced by colour(), and Logger().

◆ GlobalStopWatch

GridStopWatch Logger::GlobalStopWatch
staticinherited

Definition at line 94 of file Log.h.

Referenced by Grid_init(), and Logger().

◆ LocalStopWatch

GridStopWatch Logger::LocalStopWatch
inherited

Definition at line 95 of file Log.h.

Referenced by TimingMode().

◆ StopWatch

GridStopWatch* Logger::StopWatch
inherited

Definition at line 96 of file Log.h.

Referenced by Logger(), Reset(), and TimingMode().

◆ devnull

std::ostream Logger::devnull
staticinherited

Definition at line 97 of file Log.h.

Referenced by operator<<.


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