Public Member Functions | Static Public Member Functions | Public Attributes | Protected Attributes
PointMatcherSupport::FileLogger Struct Reference

#include <LoggerImpl.h>

Inheritance diagram for PointMatcherSupport::FileLogger:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void beginInfoEntry (const char *file, unsigned line, const char *func)
 Start a new entry into the info channel.
virtual void beginWarningEntry (const char *file, unsigned line, const char *func)
 Start a new entry into the warning channel.
 FileLogger (const Parameters &params=Parameters())
virtual void finishInfoEntry (const char *file, unsigned line, const char *func)
 Finish the entry into the info channel.
virtual void finishWarningEntry (const char *file, unsigned line, const char *func)
 Finish the entry into the warning channel.
virtual bool hasInfoChannel () const
 Return whether this logger provides the info channel.
virtual bool hasWarningChannel () const
 Return whether this logger provides the warning channel.
virtual std::ostream * infoStream ()
 Return the info stream, 0 if hasInfoChannel() returns false.
virtual std::ostream * warningStream ()
 Return the warning stream, 0 if hasWarningChannel() returns false.

Static Public Member Functions

static const ParametersDoc availableParameters ()
static const std::string description ()

Public Attributes

const bool displayLocation
const std::string infoFileName
const std::string warningFileName

Protected Attributes

std::ofstream _infoFileStream
std::ostream _infoStream
std::ofstream _warningFileStream
std::ostream _warningStream

Detailed Description

Definition at line 55 of file LoggerImpl.h.


Constructor & Destructor Documentation

Definition at line 45 of file LoggerImpl.cpp.


Member Function Documentation

Definition at line 61 of file LoggerImpl.h.

void PointMatcherSupport::FileLogger::beginInfoEntry ( const char *  file,
unsigned  line,
const char *  func 
) [virtual]

Start a new entry into the info channel.

Reimplemented from PointMatcherSupport::Logger.

Definition at line 87 of file LoggerImpl.cpp.

void PointMatcherSupport::FileLogger::beginWarningEntry ( const char *  file,
unsigned  line,
const char *  func 
) [virtual]

Start a new entry into the warning channel.

Reimplemented from PointMatcherSupport::Logger.

Definition at line 109 of file LoggerImpl.cpp.

static const std::string PointMatcherSupport::FileLogger::description ( ) [inline, static]

Definition at line 57 of file LoggerImpl.h.

void PointMatcherSupport::FileLogger::finishInfoEntry ( const char *  file,
unsigned  line,
const char *  func 
) [virtual]

Finish the entry into the info channel.

Reimplemented from PointMatcherSupport::Logger.

Definition at line 96 of file LoggerImpl.cpp.

void PointMatcherSupport::FileLogger::finishWarningEntry ( const char *  file,
unsigned  line,
const char *  func 
) [virtual]

Finish the entry into the warning channel.

Reimplemented from PointMatcherSupport::Logger.

Definition at line 118 of file LoggerImpl.cpp.

Return whether this logger provides the info channel.

Reimplemented from PointMatcherSupport::Logger.

Definition at line 82 of file LoggerImpl.cpp.

Return whether this logger provides the warning channel.

Reimplemented from PointMatcherSupport::Logger.

Definition at line 104 of file LoggerImpl.cpp.

std::ostream * PointMatcherSupport::FileLogger::infoStream ( ) [virtual]

Return the info stream, 0 if hasInfoChannel() returns false.

Reimplemented from PointMatcherSupport::Logger.

Definition at line 91 of file LoggerImpl.cpp.

std::ostream * PointMatcherSupport::FileLogger::warningStream ( ) [virtual]

Return the warning stream, 0 if hasWarningChannel() returns false.

Reimplemented from PointMatcherSupport::Logger.

Definition at line 113 of file LoggerImpl.cpp.


Member Data Documentation

Definition at line 86 of file LoggerImpl.h.

Definition at line 88 of file LoggerImpl.h.

Definition at line 87 of file LoggerImpl.h.

Definition at line 89 of file LoggerImpl.h.

Definition at line 72 of file LoggerImpl.h.

Definition at line 68 of file LoggerImpl.h.

Definition at line 71 of file LoggerImpl.h.


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


libpointmatcher
Author(s):
autogenerated on Thu Jun 20 2019 19:51:34