|
ParaView
|
keeps track of amount of memory consumed by caches in vtkPVUpateSupressor objects. More...
#include <vtkCacheSizeKeeper.h>


Public Member Functions | |
| virtual const char * | GetClassName () |
| virtual int | IsA (const char *type) |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| void | AddCacheSize (unsigned long kbytes) |
| void | FreeCacheSize (unsigned long kbytes) |
| virtual unsigned long | GetCacheSize () |
| virtual unsigned long | GetCacheLimit () |
| virtual void | SetCacheLimit (unsigned long) |
| virtual int | GetCacheFull () |
| virtual void | SetCacheFull (int) |
Static Public Member Functions | |
| static int | IsTypeOf (const char *type) |
| static vtkCacheSizeKeeper * | SafeDownCast (vtkObject *o) |
| static vtkCacheSizeKeeper * | GetInstance () |
Protected Member Functions | |
| vtkCacheSizeKeeper () | |
| ~vtkCacheSizeKeeper () | |
Static Protected Member Functions | |
| static vtkCacheSizeKeeper * | New () |
Protected Attributes | |
| unsigned long | CacheSize |
| unsigned long | CacheLimit |
| int | CacheFull |
keeps track of amount of memory consumed by caches in vtkPVUpateSupressor objects.
vtkCacheSizeKeeper keeps track of the amount of memory cached by several vtkPVUpdateSuppressor objects.
Definition at line 28 of file vtkCacheSizeKeeper.h.
| vtkCacheSizeKeeper::vtkCacheSizeKeeper | ( | ) | [protected] |
| vtkCacheSizeKeeper::~vtkCacheSizeKeeper | ( | ) | [protected] |
| virtual const char* vtkCacheSizeKeeper::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkObject.
| static vtkCacheSizeKeeper* vtkCacheSizeKeeper::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkObject.
| void vtkCacheSizeKeeper::PrintSelf | ( | ostream & | os, |
| vtkIndent | indent | ||
| ) | [virtual] |
Reimplemented from vtkObject.
| static vtkCacheSizeKeeper* vtkCacheSizeKeeper::GetInstance | ( | ) | [static] |
Returns the singleton.
| void vtkCacheSizeKeeper::AddCacheSize | ( | unsigned long | kbytes | ) | [inline] |
Report increase in cache size (in kbytes).
Definition at line 39 of file vtkCacheSizeKeeper.h.
| void vtkCacheSizeKeeper::FreeCacheSize | ( | unsigned long | kbytes | ) | [inline] |
Report decrease in cache size (in bytes).
Definition at line 54 of file vtkCacheSizeKeeper.h.
| virtual unsigned long vtkCacheSizeKeeper::GetCacheSize | ( | ) | [virtual] |
Get the size of cache reported to this keeper.
| virtual unsigned long vtkCacheSizeKeeper::GetCacheLimit | ( | ) | [virtual] |
Get/Set the cache size limit. One can set this separately on each processes. vtkPVView::Update ensures that the cache fullness state is synchronized among all participating processes. (in KBs)
| virtual void vtkCacheSizeKeeper::SetCacheLimit | ( | unsigned | long | ) | [virtual] |
Get/Set the cache size limit. One can set this separately on each processes. vtkPVView::Update ensures that the cache fullness state is synchronized among all participating processes. (in KBs)
| virtual int vtkCacheSizeKeeper::GetCacheFull | ( | ) | [virtual] |
Get/Set if the cache is full.
| virtual void vtkCacheSizeKeeper::SetCacheFull | ( | int | ) | [virtual] |
Get/Set if the cache is full.
| static vtkCacheSizeKeeper* vtkCacheSizeKeeper::New | ( | ) | [static, protected] |
Reimplemented from vtkObject.
unsigned long vtkCacheSizeKeeper::CacheSize [protected] |
Definition at line 85 of file vtkCacheSizeKeeper.h.
unsigned long vtkCacheSizeKeeper::CacheLimit [protected] |
Definition at line 86 of file vtkCacheSizeKeeper.h.
int vtkCacheSizeKeeper::CacheFull [protected] |
Definition at line 87 of file vtkCacheSizeKeeper.h.
1.7.5.1