81 #ifndef __vtkGarbageCollector_h
82 #define __vtkGarbageCollector_h
84 #include "vtkCommonCoreModule.h"
90 void VTKCOMMONCORE_EXPORT
96 class vtkObjectBaseToGarbageCollectorFriendship;
114 static void Collect();
131 static void DeferredCollectionPush();
132 static void DeferredCollectionPop();
138 static void SetGlobalDebugFlag(
int flag);
139 static int GetGlobalDebugFlag();
165 static void ClassInitialize();
166 static void ClassFinalize();
170 friend class vtkObjectBaseToGarbageCollectorFriendship;
174 virtual void Report(
vtkObjectBase* obj,
void* ptr,
const char* desc);
175 friend void VTKCOMMONCORE_EXPORT
190 void VTKCOMMONCORE_EXPORT
abstract base class for most VTK objects
Detect and break reference loops.
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Manages the vtkGarbageCollector singleton.
abstract base class for most VTK objects
Non-templated superclass for vtkSmartPointer.
void VTKCOMMONCORE_EXPORT vtkGarbageCollectorReportInternal(vtkGarbageCollector *, vtkObjectBase *, void *, const char *)
void VTKCOMMONCORE_EXPORT vtkGarbageCollectorReport(vtkGarbageCollector *collector, vtkSmartPointerBase &ptr, const char *desc)