52 #ifndef vtkDebugLeaks_h
53 #define vtkDebugLeaks_h
55 #include "vtkCommonCoreModule.h"
63 class vtkDebugLeaksHashTable;
64 class vtkDebugLeaksTraceManager;
82 static void ConstructClass(
const char* className);
92 static void DestructClass(
const char* className);
98 static int PrintCurrentLeaks();
105 static int GetExitError();
106 static void SetExitError(
int);
116 static int DisplayMessageBox(
const char*);
118 static void ClassInitialize();
119 static void ClassFinalize();
128 static vtkDebugLeaksHashTable* MemoryTable;
129 static vtkDebugLeaksTraceManager* TraceManager;
130 static std::mutex* CriticalSection;
132 static int ExitError;
149 #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.