|  | VTK
    9.0.1
    | 
 
 
 
Go to the documentation of this file.
   79 #ifndef vtkGarbageCollector_h 
   80 #define vtkGarbageCollector_h 
   82 #include "vtkCommonCoreModule.h"         
   92 class vtkObjectBaseToGarbageCollectorFriendship;
 
  113   static void Collect();
 
  135   static void DeferredCollectionPush();
 
  136   static void DeferredCollectionPop();
 
  144   static void SetGlobalDebugFlag(
bool flag);
 
  145   static bool GetGlobalDebugFlag();
 
  176   static void ClassInitialize();
 
  177   static void ClassFinalize();
 
  180   friend class vtkObjectBaseToGarbageCollectorFriendship;
 
  183   virtual void Report(
vtkObjectBase* obj, 
void* ptr, 
const char* desc);
 
  
void VTKCOMMONCORE_EXPORT vtkGarbageCollectorReport(vtkGarbageCollector *collector, vtkSmartPointerBase &ptr, const char *desc)
Function to report a reference held by a smart pointer to a collector.
Non-templated superclass for vtkSmartPointer.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
abstract base class for most VTK objects
abstract base class for most VTK objects
void VTKCOMMONCORE_EXPORT vtkGarbageCollectorReportInternal(vtkGarbageCollector *, vtkObjectBase *, void *, const char *)
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Detect and break reference loops.
Manages the vtkGarbageCollector singleton.