#include <LoggerImpl.h>

Public Member Functions | |
| virtual void | beginInfoEntry (const char *file, unsigned line, const char *func) |
| Start a new entry into the info channel. More... | |
| virtual void | beginWarningEntry (const char *file, unsigned line, const char *func) |
| Start a new entry into the warning channel. More... | |
| FileLogger (const Parameters ¶ms=Parameters()) | |
| virtual void | finishInfoEntry (const char *file, unsigned line, const char *func) |
| Finish the entry into the info channel. More... | |
| virtual void | finishWarningEntry (const char *file, unsigned line, const char *func) |
| Finish the entry into the warning channel. More... | |
| virtual bool | hasInfoChannel () const |
| Return whether this logger provides the info channel. More... | |
| virtual bool | hasWarningChannel () const |
| Return whether this logger provides the warning channel. More... | |
| virtual std::ostream * | infoStream () |
| Return the info stream, 0 if hasInfoChannel() returns false. More... | |
| virtual std::ostream * | warningStream () |
| Return the warning stream, 0 if hasWarningChannel() returns false. More... | |
Public Member Functions inherited from PointMatcherSupport::Logger | |
| Logger () | |
| Construct without parameter. More... | |
| Logger (const std::string &className, const ParametersDoc paramsDoc, const Parameters ¶ms) | |
| Construct with parameters. More... | |
| virtual | ~Logger () |
| Virtual destructor, do nothing. More... | |
Public Member Functions inherited from PointMatcherSupport::Parametrizable | |
| template<typename S > | |
| S | get (const std::string ¶mName) |
| Return the value of paramName, lexically-casted to S. More... | |
| std::string | getParamValueString (const std::string ¶mName) |
| Get the value of a parameter, as a string. More... | |
| template<typename T > | |
| std::vector< T > | getVector (const std::string ¶mName) |
| Return the value of paramName, lexically-casted std::vector<S> More... | |
| Parametrizable () | |
| Construct a documentation of parameters from a description in the source. More... | |
| Parametrizable (const std::string &className, const ParametersDoc paramsDoc, const Parameters ¶ms) | |
| Construct with documented parameters. More... | |
| virtual | ~Parametrizable () |
| Virtual destructor, do nothing. More... | |
Static Public Member Functions | |
| static const ParametersDoc | availableParameters () |
| static const std::string | description () |
Static Public Member Functions inherited from PointMatcherSupport::Parametrizable | |
| template<typename S > | |
| static bool | Comp (std::string a, std::string b) |
| Return whether a < b, lexically casted to S. More... | |
Public Attributes | |
| const bool | displayLocation |
| const std::string | infoFileName |
| const std::string | warningFileName |
Public Attributes inherited from PointMatcherSupport::Parametrizable | |
| const std::string | className |
| name of the class More... | |
| Parameters | parameters |
| parameters with their values encoded in string More... | |
| const ParametersDoc | parametersDoc |
| documentation of parameters More... | |
| ParametersUsed | parametersUsed |
| parameters whose value has actually been read More... | |
Protected Attributes | |
| std::ofstream | _infoFileStream |
| std::ostream | _infoStream |
| std::ofstream | _warningFileStream |
| std::ostream | _warningStream |
Additional Inherited Members | |
Public Types inherited from PointMatcherSupport::Parametrizable | |
| typedef bool(* | LexicalComparison) (std::string a, std::string b) |
| A function that returns whether a is smaller than b. More... | |
| typedef std::string | Parameter |
| alias More... | |
| typedef std::map< std::string, Parameter > | Parameters |
| Parameters stored as a map of string->string. More... | |
| typedef std::vector< ParameterDoc > | ParametersDoc |
| The documentation of all parameters. More... | |
| typedef std::set< std::string > | ParametersUsed |
| Parameters whose value has been read. More... | |
Definition at line 55 of file LoggerImpl.h.
| PointMatcherSupport::FileLogger::FileLogger | ( | const Parameters & | params = Parameters() | ) |
Definition at line 45 of file LoggerImpl.cpp.
|
inlinestatic |
Definition at line 61 of file LoggerImpl.h.
|
virtual |
Start a new entry into the info channel.
Reimplemented from PointMatcherSupport::Logger.
Definition at line 87 of file LoggerImpl.cpp.
|
virtual |
Start a new entry into the warning channel.
Reimplemented from PointMatcherSupport::Logger.
Definition at line 109 of file LoggerImpl.cpp.
|
inlinestatic |
Definition at line 57 of file LoggerImpl.h.
|
virtual |
Finish the entry into the info channel.
Reimplemented from PointMatcherSupport::Logger.
Definition at line 96 of file LoggerImpl.cpp.
|
virtual |
Finish the entry into the warning channel.
Reimplemented from PointMatcherSupport::Logger.
Definition at line 118 of file LoggerImpl.cpp.
|
virtual |
Return whether this logger provides the info channel.
Reimplemented from PointMatcherSupport::Logger.
Definition at line 82 of file LoggerImpl.cpp.
|
virtual |
Return whether this logger provides the warning channel.
Reimplemented from PointMatcherSupport::Logger.
Definition at line 104 of file LoggerImpl.cpp.
|
virtual |
Return the info stream, 0 if hasInfoChannel() returns false.
Reimplemented from PointMatcherSupport::Logger.
Definition at line 91 of file LoggerImpl.cpp.
|
virtual |
Return the warning stream, 0 if hasWarningChannel() returns false.
Reimplemented from PointMatcherSupport::Logger.
Definition at line 113 of file LoggerImpl.cpp.
|
protected |
Definition at line 86 of file LoggerImpl.h.
|
protected |
Definition at line 88 of file LoggerImpl.h.
|
protected |
Definition at line 87 of file LoggerImpl.h.
|
protected |
Definition at line 89 of file LoggerImpl.h.
| const bool PointMatcherSupport::FileLogger::displayLocation |
Definition at line 72 of file LoggerImpl.h.
| const std::string PointMatcherSupport::FileLogger::infoFileName |
Definition at line 68 of file LoggerImpl.h.
| const std::string PointMatcherSupport::FileLogger::warningFileName |
Definition at line 71 of file LoggerImpl.h.