Public Member Functions
PointMatcherSupport::Logger Struct Reference

The logger interface, used to output warnings and informations. More...

#include <PointMatcher.h>

Inheritance diagram for PointMatcherSupport::Logger:
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.
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.
 Logger ()
 Construct without parameter.
 Logger (const std::string &className, const ParametersDoc paramsDoc, const Parameters &params)
 Construct with parameters.
virtual std::ostream * warningStream ()
 Return the warning stream, 0 if hasWarningChannel() returns false.
virtual ~Logger ()
 Virtual destructor, do nothing.

Detailed Description

The logger interface, used to output warnings and informations.

Definition at line 104 of file PointMatcher.h.


Constructor & Destructor Documentation

Construct without parameter.

Definition at line 45 of file Logger.cpp.

PointMatcherSupport::Logger::Logger ( const std::string &  className,
const ParametersDoc  paramsDoc,
const Parameters params 
)

Construct with parameters.

Definition at line 49 of file Logger.cpp.

Virtual destructor, do nothing.

Definition at line 54 of file Logger.cpp.


Member Function Documentation

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

Start a new entry into the info channel.

Reimplemented in PointMatcherSupport::FileLogger.

Definition at line 64 of file Logger.cpp.

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

Start a new entry into the warning channel.

Reimplemented in PointMatcherSupport::FileLogger.

Definition at line 84 of file Logger.cpp.

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

Finish the entry into the info channel.

Reimplemented in PointMatcherSupport::FileLogger.

Definition at line 74 of file Logger.cpp.

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

Finish the entry into the warning channel.

Reimplemented in PointMatcherSupport::FileLogger.

Definition at line 94 of file Logger.cpp.

Return whether this logger provides the info channel.

Reimplemented in PointMatcherSupport::FileLogger.

Definition at line 58 of file Logger.cpp.

Return whether this logger provides the warning channel.

Reimplemented in PointMatcherSupport::FileLogger.

Definition at line 78 of file Logger.cpp.

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

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

Reimplemented in PointMatcherSupport::FileLogger.

Definition at line 68 of file Logger.cpp.

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

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

Reimplemented in PointMatcherSupport::FileLogger.

Definition at line 88 of file Logger.cpp.


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


upstream_src
Author(s):
autogenerated on Mon Oct 6 2014 10:27:42