49 #ifndef vtkDebugLeaks_h 50 #define vtkDebugLeaks_h 52 #include "vtkCommonCoreModule.h" 55 #include "vtkToolkits.h" 58 class vtkDebugLeaksHashTable;
71 static void ConstructClass(
const char* classname);
76 static void DestructClass(
const char* classname);
82 static int PrintCurrentLeaks();
89 static int GetExitError();
90 static void SetExitError(
int);
100 static int DisplayMessageBox(
const char*);
102 static void ClassInitialize();
103 static void ClassFinalize();
112 static vtkDebugLeaksHashTable* MemoryTable;
115 static int ExitError;
131 #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.