VTK
9.1.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
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
=========================================================================*/
25
#ifndef vtkDebugLeaksManager_h
26
#define vtkDebugLeaksManager_h
27
28
#include "vtkCommonCoreModule.h"
// For export macro
29
#include "
vtkSystemIncludes.h
"
30
31
class
VTKCOMMONCORE_EXPORT
vtkDebugLeaksManager
32
{
33
public
:
34
vtkDebugLeaksManager
();
35
~vtkDebugLeaksManager
();
36
37
private
:
38
vtkDebugLeaksManager
(
const
vtkDebugLeaksManager
&) =
delete
;
39
vtkDebugLeaksManager
& operator=(
const
vtkDebugLeaksManager
&) =
delete
;
40
};
41
42
// This instance will show up in any translation unit that uses
43
// vtkDebugLeaks or that has a singleton. It will make sure
44
// vtkDebugLeaks is initialized before it is used and is the last
45
// static object destroyed.
46
static
vtkDebugLeaksManager
vtkDebugLeaksManagerInstance
;
47
48
#endif
49
// VTK-HeaderTest-Exclude: vtkDebugLeaksManager.h
vtkDebugLeaksManager
Manages the vtkDebugLeaks singleton.
Definition:
vtkDebugLeaksManager.h:32
vtkDebugLeaksManager::~vtkDebugLeaksManager
~vtkDebugLeaksManager()
vtkDebugLeaksManager::vtkDebugLeaksManager
vtkDebugLeaksManager()
vtkDebugLeaksManagerInstance
static vtkDebugLeaksManager vtkDebugLeaksManagerInstance
Definition:
vtkDebugLeaksManager.h:46
vtkSystemIncludes.h
Generated on Fri Apr 21 2023 10:28:27 for VTK by
1.9.6