VTK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
home
demarle
Source
VTK
release
8.2
build
Utilities
Doxygen
dox
Common
Core
vtkGarbageCollectorManager.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkGarbageCollectorManager.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 vtkGarbageCollectorManager_h
26
#define vtkGarbageCollectorManager_h
27
28
#include "vtkCommonCoreModule.h"
// For export macro
29
#include "
vtkSystemIncludes.h
"
30
31
#include "
vtkDebugLeaksManager.h
"
// DebugLeaks is around longer than
32
// the garbage collector.
33
34
class
VTKCOMMONCORE_EXPORT
vtkGarbageCollectorManager
35
{
36
public
:
37
vtkGarbageCollectorManager
();
38
~
vtkGarbageCollectorManager
();
39
private
:
40
vtkGarbageCollectorManager
(
const
vtkGarbageCollectorManager
&);
41
vtkGarbageCollectorManager
& operator=(
42
const
vtkGarbageCollectorManager
&);
43
};
44
45
// This instance will show up in any translation unit that uses
46
// vtkGarbageCollector or that has a singleton. It will make sure
47
// vtkGarbageCollector is initialized before it is used finalized when
48
// it is done being used.
49
static
vtkGarbageCollectorManager
vtkGarbageCollectorManagerInstance
;
50
51
#endif
52
// VTK-HeaderTest-Exclude: vtkGarbageCollectorManager.h
vtkSystemIncludes.h
vtkDebugLeaksManager.h
vtkGarbageCollectorManager
Manages the vtkGarbageCollector singleton.
Definition:
vtkGarbageCollectorManager.h:34
vtkGarbageCollectorManagerInstance
static vtkGarbageCollectorManager vtkGarbageCollectorManagerInstance
Definition:
vtkGarbageCollectorManager.h:49
Generated by
1.8.11