49 #ifndef vtkDebugLeaks_h 50 #define vtkDebugLeaks_h 52 #include "vtkCommonCoreModule.h" 56 #include "vtkToolkits.h" 58 class vtkDebugLeaksHashTable;
59 class vtkDebugLeaksTraceManager;
77 static void ConstructClass(
const char* className);
87 static void DestructClass(
const char* className);
93 static int PrintCurrentLeaks();
100 static int GetExitError();
101 static void SetExitError(
int);
111 static int DisplayMessageBox(
const char*);
113 static void ClassInitialize();
114 static void ClassFinalize();
123 static vtkDebugLeaksHashTable* MemoryTable;
124 static vtkDebugLeaksTraceManager* TraceManager;
127 static int ExitError;
144 #endif // vtkDebugLeaks_h abstract base class for most VTK objects
virtual ~vtkDebugLeaksObserver()
~vtkDebugLeaks() override
abstract base class for most VTK objects
identify memory leaks at program termination vtkDebugLeaks is used to report memory leaks at the exit...
Critical section locking class.
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.