29 #ifndef vtkPVCacheKeeper_h 30 #define vtkPVCacheKeeper_h 32 #include "vtkDataObjectAlgorithm.h" 33 #include "vtkPVClientServerCoreRenderingModule.h" 37 class VTKPVCLIENTSERVERCORERENDERING_EXPORT
vtkPVCacheKeeper :
public vtkDataObjectAlgorithm
42 void PrintSelf(ostream& os, vtkIndent indent);
48 void RemoveAllCaches();
54 vtkSetMacro(CacheTime,
double);
55 vtkGetMacro(CacheTime,
double);
62 bool IsCached(
double cacheTime);
69 vtkSetMacro(CachingEnabled,
bool);
70 vtkGetMacro(CachingEnabled,
bool);
71 vtkBooleanMacro(CachingEnabled,
bool);
80 static void ClearCacheStateFlags();
81 static int GetCacheHits();
82 static int GetCacheMisses();
83 static int GetCacheSkips();
99 int RequestDataObject(vtkInformation* request, vtkInformationVector** inputVector,
100 vtkInformationVector* outputVector);
101 int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
102 vtkInformationVector* outputVector);
103 virtual vtkExecutive* CreateDefaultExecutive();
109 bool SaveData(vtkDataObject*);
123 static int CacheMiss;
124 static int CacheSkips;
keeps track of amount of memory consumed by caches in vtkPVUpateSupressor objects.
vtkCacheSizeKeeper * CacheSizeKeeper
manages data cache for flip book animations.