VTK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
home
boeckb
code
depot
group-kitware
vtk
build-release
Utilities
Doxygen
dox
Common
Core
vtkDebugLeaksManager.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkDebugLeaksManager.h
5
6
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7
All rights reserved.
8
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10
This software is distributed WITHOUT ANY WARRANTY; without even
11
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12
PURPOSE. See the above copyright notice for more information.
13
14
=========================================================================*/
24
#ifndef vtkDebugLeaksManager_h
25
#define vtkDebugLeaksManager_h
26
27
#include "
vtkCommonCoreModule.h
"
// For export macro
28
#include "
vtkSystemIncludes.h
"
29
30
class
VTKCOMMONCORE_EXPORT
vtkDebugLeaksManager
31
{
32
public
:
33
vtkDebugLeaksManager
();
34
~
vtkDebugLeaksManager
();
35
};
36
37
// This instance will show up in any translation unit that uses
38
// vtkDebugLeaks or that has a singleton. It will make sure
39
// vtkDebugLeaks is initialized before it is used and is the last
40
// static object destroyed.
41
static
vtkDebugLeaksManager
vtkDebugLeaksManagerInstance
;
42
43
#endif
44
// VTK-HeaderTest-Exclude: vtkDebugLeaksManager.h
vtkSystemIncludes.h
vtkCommonCoreModule.h
VTKCOMMONCORE_EXPORT
#define VTKCOMMONCORE_EXPORT
Definition:
vtkCommonCoreModule.h:15
vtkDebugLeaksManagerInstance
static vtkDebugLeaksManager vtkDebugLeaksManagerInstance
Definition:
vtkDebugLeaksManager.h:41
vtkDebugLeaksManager
Manages the vtkDebugLeaks singleton.
Definition:
vtkDebugLeaksManager.h:30
Generated by
1.8.9.1