ALib C++ Library
Library Version: 2412 R0
Documentation generated by doxygen
Loading...
Searching...
No Matches
ALoxReportWriter Class Reference

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 23 of file reportwriter.hpp.

#include <reportwriter.hpp>

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

Public Static Method Index:

static ALIB_API NStringLogDomain ()
 

Public Method Index:

ALIB_API ALoxReportWriter (Lox *lox)
 
virtual ~ALoxReportWriter () override
 Virtual destructor.
 
virtual void NotifyActivation (lang::Phase) override
 Notify activation/deactivation.
 
virtual void Report (lang::Message &msg) override
 
- Public Method Index: inherited from ReportWriter
virtual ~ReportWriter ()
 Virtual destructor.
 

Protected Static Field Index:

static NString16 reportDomain
 The internal domain to report into.
 

Protected Field Index:

Loxlox
 The Lox to report to.
 

Field Details:

◆ lox

Lox* lox
protected

The Lox to report to.

Definition at line 27 of file reportwriter.hpp.

◆ reportDomain

NString16 reportDomain
staticprotected

The internal domain to report into.

Definition at line 30 of file reportwriter.hpp.

Constructor(s) / Destructor Details:

◆ ALoxReportWriter()

Constructs an AloxReportWriter.

Parameters
loxThe Lox to report to.

Definition at line 16 of file reportwriter.cpp.

Here is the call graph for this function:

◆ ~ALoxReportWriter()

virtual ~ALoxReportWriter ( )
inlineoverridevirtual

Virtual destructor.

Definition at line 43 of file reportwriter.hpp.

Method Details:

◆ LogDomain()

NString & LogDomain ( )
static

Returns the domain used to write reports.

Returns
The report log domain.

Definition at line 90 of file reportwriter.cpp.

Here is the call graph for this function:

◆ NotifyActivation()

virtual void NotifyActivation ( lang::Phase )
inlineoverridevirtual

Notify activation/deactivation.

Implements ReportWriter.

Definition at line 48 of file reportwriter.hpp.

◆ Report()

void Report ( lang::Message & msg)
overridevirtual

Write ALib reports using ALox.

Parameters
msgThe message to log.

Implements ReportWriter.

Definition at line 32 of file reportwriter.cpp.

Here is the call graph for this function:

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