VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Common
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
=========================================================================*/
24
#ifndef __vtkGarbageCollectorManager_h
25
#define __vtkGarbageCollectorManager_h
26
27
#include "
vtkSystemIncludes.h
"
28
29
#include "
vtkDebugLeaksManager.h
"
// DebugLeaks is around longer than
30
// the garbage collector.
31
32
class
VTK_COMMON_EXPORT
vtkGarbageCollectorManager
33
{
34
public
:
35
vtkGarbageCollectorManager
();
36
~
vtkGarbageCollectorManager
();
37
};
38
39
// This instance will show up in any translation unit that uses
40
// vtkGarbageCollector or that has a singleton. It will make sure
41
// vtkGarbageCollector is initialized before it is used finalized when
42
// it is done being used.
43
static
vtkGarbageCollectorManager
vtkGarbageCollectorManagerInstance
;
44
45
#endif
vtkSystemIncludes.h
vtkDebugLeaksManager.h
vtkGarbageCollectorManager
Manages the vtkGarbageCollector singleton.
Definition:
vtkGarbageCollectorManager.h:32
VTK_COMMON_EXPORT
#define VTK_COMMON_EXPORT
Definition:
vtkWin32Header.h:269
vtkGarbageCollectorManagerInstance
static vtkGarbageCollectorManager vtkGarbageCollectorManagerInstance
Definition:
vtkGarbageCollectorManager.h:43
Generated on Thu Oct 24 2019 21:14:24 for VTK by
1.8.6