40 #ifndef vtkDebugLeaks_h
41 #define vtkDebugLeaks_h
43 #include "vtkCommonCoreModule.h"
51 VTK_ABI_NAMESPACE_BEGIN
52 class vtkDebugLeaksHashTable;
53 class vtkDebugLeaksTraceManager;
71 static void ConstructClass(
const char* className);
81 static void DestructClass(
const char* className);
87 static int PrintCurrentLeaks();
94 static int GetExitError();
95 static void SetExitError(
int);
105 static int DisplayMessageBox(
const char*);
107 static void ClassInitialize();
108 static void ClassFinalize();
117 static vtkDebugLeaksHashTable* MemoryTable;
118 static vtkDebugLeaksTraceManager* TraceManager;
119 static std::mutex* CriticalSection;
121 static int ExitError;
138 VTK_ABI_NAMESPACE_END
139 #endif // vtkDebugLeaks_h
abstract base class for most VTK objects
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
friend class vtkDebugLeaks
abstract base class for most VTK objects
identify memory leaks at program termination vtkDebugLeaks is used to report memory leaks at the exit...
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
void operator=(const vtkObjectBase &)
Manages the vtkDebugLeaks singleton.