IGSTK
Main Page
Namespaces
Classes
Files
File List
File Members
Source
igstkLogger.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Image Guided Surgery Software Toolkit
4
Module: $RCSfile: igstkLogger.h,v $
5
Language: C++
6
Date: $Date: 2008-02-11 01:41:50 $
7
Version: $Revision: 1.6 $
8
9
Copyright (c) ISC Insight Software Consortium. All rights reserved.
10
See IGSTKCopyright.txt or http://www.igstk.org/copyright.htm for details.
11
12
This software is distributed WITHOUT ANY WARRANTY; without even
13
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14
PURPOSE. See the above copyright notices for more information.
15
16
=========================================================================*/
17
#ifndef __igstkLogger_h
18
#define __igstkLogger_h
19
20
#include "itkLogger.h"
21
#include "
igstkMacros.h
"
22
#include "itkObject.h"
23
24
namespace
igstk
25
{
36
class
Logger
:
public
::itk::Logger
37
{
38
public
:
40
typedef
Logger
Self
;
41
typedef ::itk::Logger
Superclass
;
42
typedef ::itk::SmartPointer< Self >
Pointer
;
43
typedef ::itk::SmartPointer< const Self >
ConstPointer
;
44
49
virtual
const
char
*
GetNameOfClass
()
const
50
{
51
return
"Logger"
;
52
}
53
55
static
Pointer
New
(
void
)
56
{
57
Pointer
smartPtr;
58
Self
*rawPtr =
new
Self
;
59
smartPtr = rawPtr;
60
rawPtr->UnRegister();
61
return
smartPtr;
62
}
63
67
virtual
bool
ShouldBuildMessage
(PriorityLevelType message_level);
68
69
protected
:
70
72
Logger
();
73
75
virtual
~Logger
();
76
77
};
// Logger
78
79
}
// namespace igstk
80
81
#endif // __igstkLogger_h
Generated on Thu Mar 20 2014 13:04:04 for IGSTK by
1.8.1.2