11 #ifndef __OBJ_XformCacher__
12 #define __OBJ_XformCacher__
23 class OBJ_XformCacheData;
24 class OBJ_XformCacheTag;
25 class OBJ_XformCacheHashTable;
58 DEFAULT_CACHE_SIZE_KB = 150*1024
83 OBJ_LookupStatus &status );
111 void setMemoryLimit(
int64 max_memory );
124 OBJ_MemoryState getMemoryState()
const;
129 {
return "Object Transform Cache";}
131 {
return entries()* getEntryMemUsage(); }
136 {
return myMaxEntries* getEntryMemUsage(); }
143 void setMRU(OBJ_XformCacheTag *tag);
145 void deallocateItem(OBJ_XformCacheTag *tag);
147 static int64 getEntryMemUsage();
149 int64 entries()
const;
153 OBJ_XformCacheHashTable *myData;
156 Policy myCachePolicy;
163 friend class OBJ_XformCacheTag;
GT_API const UT_StringHolder time
virtual int64 utReduceCacheSizeBy(int64 amount)=0
Common base class for various caches.
GT_API const UT_StringHolder version
virtual void utSetMaxSize(int64)
**If you just want to fire and args