Go to the documentation of this file.
49 #ifndef vtkDebugLeaks_h
50 #define vtkDebugLeaks_h
52 #include "vtkCommonCoreModule.h"
55 #include "vtkToolkits.h"
58 class vtkDebugLeaksHashTable;
112 static vtkDebugLeaksHashTable* MemoryTable;
115 static int ExitError;
131 #endif // vtkDebugLeaks_h
void operator=(const vtkObjectBase &)
static void SetExitError(int)
static void ClassInitialize()
virtual void DestructingObject(vtkObjectBase *)=0
abstract base class for most VTK objects
static int GetExitError()
Get/Set flag for exiting with an error when leaks are present.
static int DisplayMessageBox(const char *)
static void ConstructingObject(vtkObjectBase *object)
static void ClassFinalize()
static void ConstructClass(const char *classname)
Call this when creating a class of a given name.
static int PrintCurrentLeaks()
Print all the values in the table.
static void DestructClass(const char *classname)
Call this when deleting a class of a given name.
static vtkDebugLeaksObserver * GetDebugLeaksObserver()
abstract base class for most VTK objects
Critical section locking class.
virtual ~vtkDebugLeaksObserver()
identify memory leaks at program termination vtkDebugLeaks is used to report memory leaks at the exit...
Manages the vtkDebugLeaks singleton.
virtual void ConstructingObject(vtkObjectBase *)=0
static void DestructingObject(vtkObjectBase *object)
~vtkDebugLeaks() override
static void SetDebugLeaksObserver(vtkDebugLeaksObserver *observer)
static vtkDebugLeaks * New()