VTK  9.4.20241108
vtkGarbageCollectorManager.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 vtkGarbageCollectorManager_h
14#define vtkGarbageCollectorManager_h
15
16#include "vtkCommonCoreModule.h" // For export macro
17#include "vtkSystemIncludes.h"
18
19#include "vtkDebugLeaksManager.h" // DebugLeaks is around longer than
20 // the garbage collector.
21
22VTK_ABI_NAMESPACE_BEGIN
23class VTKCOMMONCORE_EXPORT vtkGarbageCollectorManager
24{
25public:
28
29private:
32};
33
34// This instance will show up in any translation unit that uses
35// vtkGarbageCollector or that has a singleton. It will make sure
36// vtkGarbageCollector is initialized before it is used finalized when
37// it is done being used.
39
40VTK_ABI_NAMESPACE_END
41#endif
42// VTK-HeaderTest-Exclude: vtkGarbageCollectorManager.h
Manages the vtkGarbageCollector singleton.
static vtkGarbageCollectorManager vtkGarbageCollectorManagerInstance