VTK
9.3.20241003
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
vtkDebugLeaksManager
Manages the vtkDebugLeaks singleton.
Definition
vtkDebugLeaksManager.h:21
vtkDebugLeaksManager::~vtkDebugLeaksManager
~vtkDebugLeaksManager()
vtkDebugLeaksManager::vtkDebugLeaksManager
vtkDebugLeaksManager()
vtkDebugLeaksManagerInstance
static vtkDebugLeaksManager vtkDebugLeaksManagerInstance
Definition
vtkDebugLeaksManager.h:35
vtkSystemIncludes.h
Generated on Thu Oct 3 2024 10:10:34 for VTK by
1.9.7