UT_Cache Class Reference

#include <UT_Cache.h>

Inheritance diagram for UT_Cache:

OBJ_XformCache TIL_ImageCache TIL_TileCache UT_LimitedCache

List of all members.

Public Member Functions

 UT_Cache ()
virtual ~UT_Cache ()
void utClearCache ()
virtual const char * utGetCacheName () const =0
virtual int64 utGetCurrentSize ()=0
virtual int64 utReduceCacheSizeBy (int64 amount)=0
virtual bool utHasMaxSize () const
virtual int64 utGetMaxSize ()
virtual void utSetMaxSize (int64)
virtual bool utHasMinSize () const
virtual int64 utGetMinSize ()
virtual void utSetMinSize (int64)
virtual bool utUpdateCacheInfo ()

Static Public Member Functions

static const UT_PtrArray
< UT_Cache * > & 
utGetCacheList ()
static void setCacheAddRemoveCB (void(*callback)(void *), void *data)
static int64 utClearSpaceFromCaches (int64 amount)


Detailed Description

Definition at line 28 of file UT_Cache.h.


Constructor & Destructor Documentation

UT_Cache::UT_Cache (  ) 

virtual UT_Cache::~UT_Cache (  )  [virtual]


Member Function Documentation

static void UT_Cache::setCacheAddRemoveCB ( void(*)(void *)  callback,
void *  data 
) [static]

void UT_Cache::utClearCache (  ) 

static int64 UT_Cache::utClearSpaceFromCaches ( int64  amount  )  [static]

static const UT_PtrArray<UT_Cache *>& UT_Cache::utGetCacheList (  )  [static]

virtual const char* UT_Cache::utGetCacheName (  )  const [pure virtual]

virtual int64 UT_Cache::utGetCurrentSize (  )  [pure virtual]

virtual int64 UT_Cache::utGetMaxSize (  )  [inline, virtual]

Reimplemented in OBJ_XformCache, TIL_ImageCache, TIL_TileCache, and UT_LimitedCache.

Definition at line 51 of file UT_Cache.h.

virtual int64 UT_Cache::utGetMinSize (  )  [inline, virtual]

Definition at line 57 of file UT_Cache.h.

virtual bool UT_Cache::utHasMaxSize (  )  const [inline, virtual]

Reimplemented in OBJ_XformCache, TIL_ImageCache, TIL_TileCache, and UT_LimitedCache.

Definition at line 50 of file UT_Cache.h.

virtual bool UT_Cache::utHasMinSize (  )  const [inline, virtual]

Definition at line 56 of file UT_Cache.h.

virtual int64 UT_Cache::utReduceCacheSizeBy ( int64  amount  )  [pure virtual]

virtual void UT_Cache::utSetMaxSize ( int64   )  [inline, virtual]

Reimplemented in OBJ_XformCache, TIL_ImageCache, TIL_TileCache, and UT_LimitedCache.

Definition at line 52 of file UT_Cache.h.

virtual void UT_Cache::utSetMinSize ( int64   )  [inline, virtual]

Definition at line 58 of file UT_Cache.h.

virtual bool UT_Cache::utUpdateCacheInfo (  )  [inline, virtual]

Definition at line 62 of file UT_Cache.h.


The documentation for this class was generated from the following file:

Generated on Mon Jan 28 00:30:06 2013 for HDK by  doxygen 1.5.9