igstk::Logger Class Reference

Class used for handling logging tasks. More...

#include <igstkLogger.h>

List of all members.

Public Types

typedef Logger Self
 General Typedefs.
typedef ::itk::Logger Superclass
typedef ::itk::SmartPointer< SelfPointer
typedef ::itk::SmartPointer
< const Self
ConstPointer

Public Member Functions

virtual const char * GetNameOfClass () const
 We do not use macros for New(), GetNameOfClass() since igstkLogger.h is included in igstkMacros.h.
virtual bool ShouldBuildMessage (PriorityLevelType message_level)
 Returns true if the priority level of the message will cause the message to be written to a log.

Static Public Member Functions

static Pointer New (void)
 Makes a new Logger and returns a smart pointer to it.

Protected Member Functions

 Logger ()
 Constructor.
virtual ~Logger ()
 Destructor.

Detailed Description

Class used for handling logging tasks.

This class derives from the ITK Logger. Its purpose is two-fold. First, it specifies the default priority level of messages. Second, it implements the ShouldBuildMessage API which enables lazy evaluation of messages passed to a logger through the logging macros.

Definition at line 36 of file igstkLogger.h.


Member Typedef Documentation

General Typedefs.

Definition at line 40 of file igstkLogger.h.

typedef ::itk::Logger igstk::Logger::Superclass

Definition at line 41 of file igstkLogger.h.

typedef ::itk::SmartPointer< Self > igstk::Logger::Pointer

Definition at line 42 of file igstkLogger.h.

typedef ::itk::SmartPointer< const Self > igstk::Logger::ConstPointer

Definition at line 43 of file igstkLogger.h.


Constructor & Destructor Documentation

igstk::Logger::Logger (  )  [protected]

Constructor.

virtual igstk::Logger::~Logger (  )  [protected, virtual]

Destructor.


Member Function Documentation

virtual const char* igstk::Logger::GetNameOfClass (  )  const [inline, virtual]

We do not use macros for New(), GetNameOfClass() since igstkLogger.h is included in igstkMacros.h.

Definition at line 49 of file igstkLogger.h.

static Pointer igstk::Logger::New ( void   )  [inline, static]

Makes a new Logger and returns a smart pointer to it.

Definition at line 55 of file igstkLogger.h.

virtual bool igstk::Logger::ShouldBuildMessage ( PriorityLevelType  message_level  )  [virtual]

Returns true if the priority level of the message will cause the message to be written to a log.


The documentation for this class was generated from the following file:
Generated on Tue Jul 13 11:06:50 2010 for IGSTK by  doxygen 1.6.3