VTK
9.3.1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
Common
Core
vtkDebugLeaksManager.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2
// SPDX-License-Identifier: BSD-3-Clause
13
#ifndef vtkDebugLeaksManager_h
14
#define vtkDebugLeaksManager_h
15
16
#include "vtkCommonCoreModule.h"
// For export macro
17
#include "
vtkSystemIncludes.h
"
18
19
VTK_ABI_NAMESPACE_BEGIN
20
class
VTKCOMMONCORE_EXPORT
vtkDebugLeaksManager
21
{
22
public
:
23
vtkDebugLeaksManager
();
24
~
vtkDebugLeaksManager
();
25
26
private
:
27
vtkDebugLeaksManager
(
const
vtkDebugLeaksManager
&) =
delete
;
28
vtkDebugLeaksManager
& operator=(
const
vtkDebugLeaksManager
&) =
delete
;
29
};
30
31
// This instance will show up in any translation unit that uses
32
// vtkDebugLeaks or that has a singleton. It will make sure
33
// vtkDebugLeaks is initialized before it is used and is the last
34
// static object destroyed.
35
static
vtkDebugLeaksManager
vtkDebugLeaksManagerInstance
;
36
37
VTK_ABI_NAMESPACE_END
38
#endif
39
// VTK-HeaderTest-Exclude: vtkDebugLeaksManager.h
vtkSystemIncludes.h
vtkDebugLeaksManagerInstance
static vtkDebugLeaksManager vtkDebugLeaksManagerInstance
Definition:
vtkDebugLeaksManager.h:35
vtkDebugLeaksManager
Manages the vtkDebugLeaks singleton.
Definition:
vtkDebugLeaksManager.h:20
Generated on Sun Dec 8 2024 22:10:20 for VTK by
1.8.10