81 #ifndef vtkGarbageCollector_h
82 #define vtkGarbageCollector_h
96 class vtkObjectBaseToGarbageCollectorFriendship;
114 static void Collect();
131 static void DeferredCollectionPush();
132 static void DeferredCollectionPop();
138 static void SetGlobalDebugFlag(
bool flag);
139 static bool GetGlobalDebugFlag();
165 static void ClassInitialize();
166 static void ClassFinalize();
170 friend class vtkObjectBaseToGarbageCollectorFriendship;
174 virtual void Report(
vtkObjectBase* obj,
void* ptr,
const char* desc);
abstract base class for most VTK objects
#define VTKCOMMONCORE_EXPORT
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)