ALib C++ Library
Library Version: 2312 R0
Documentation generated by doxygen
Public Static Methods | Public Methods | Protected Static Fields | Protected Fields | List of all members
ALoxReportWriter Class Reference

#include <reportwriter.hpp>

Inheritance diagram for ALoxReportWriter:
[legend]
Collaboration diagram for ALoxReportWriter:
[legend]

Class Description


The ReportWriter for ALib when using ALox. An instance of this class is created in method Log::AddDebugLogger and registered with ALib.
Uses internal domain '$/REPORT' for logging.

Definition at line 25 of file reportwriter.hpp.

Public Static Methods

static ALIB_API NStringLogDomain ()
 

Public Methods

ALIB_API ALoxReportWriter (Lox *lox)
 
virtual ~ALoxReportWriter () override
 
virtual void NotifyActivation (Phase) override
 
virtual void Report (lib::results::Message &msg) override
 
- Public Methods inherited from ReportWriter
virtual ~ReportWriter ()
 

Protected Static Fields

static NString16 reportDomain
 

Protected Fields

Loxlox
 

Constructor & Destructor Documentation

◆ ALoxReportWriter()

ALoxReportWriter ( Lox lox)

Constructs an AloxReportWriter.

Parameters
loxThe Lox to report to.

Definition at line 22 of file reportwriter.cpp.

Here is the call graph for this function:

◆ ~ALoxReportWriter()

virtual ~ALoxReportWriter ( )
inlineoverridevirtual

Virtual destructor

Definition at line 45 of file reportwriter.hpp.

Member Function Documentation

◆ LogDomain()

NString & LogDomain ( )
static

Returns the domain used to write reports.

Returns
The report log domain.

Definition at line 96 of file reportwriter.cpp.

Here is the call graph for this function:

◆ NotifyActivation()

virtual void NotifyActivation ( Phase  )
inlineoverridevirtual

Notify activation/deactivation

Implements ReportWriter.

Definition at line 50 of file reportwriter.hpp.

◆ Report()

void Report ( lib::results::Message msg)
overridevirtual

Write ALib reports using ALox.

Parameters
msgThe message to log.

Implements ReportWriter.

Definition at line 38 of file reportwriter.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ lox

Lox* lox
protected

The Lox to report to.

Definition at line 29 of file reportwriter.hpp.

◆ reportDomain

NString16 reportDomain
staticprotected

The internal domain to report into.

Definition at line 32 of file reportwriter.hpp.


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