 |
VTK
9.0.1
|
Go to the documentation of this file.
49 #ifndef vtkDebugLeaks_h
50 #define vtkDebugLeaks_h
52 #include "vtkCommonCoreModule.h"
56 #include "vtkToolkits.h"
58 class vtkDebugLeaksHashTable;
59 class vtkDebugLeaksTraceManager;
123 static vtkDebugLeaksHashTable* MemoryTable;
124 static vtkDebugLeaksTraceManager* TraceManager;
127 static int ExitError;
144 #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 int PrintCurrentLeaks()
Print all the values in the table.
static void ConstructClass(const char *className)
Call this when creating a vtkCommand or subclasses.
static void ConstructClass(vtkObjectBase *object)
Call this when creating a class.
static vtkDebugLeaksObserver * GetDebugLeaksObserver()
abstract base class for most VTK objects
Critical section locking class.
virtual ~vtkDebugLeaksObserver()
static void DestructClass(vtkObjectBase *object)
Call this when deleting a class.
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 void DestructClass(const char *className)
Call this when deleting vtkCommand or a subclass.
static vtkDebugLeaks * New()