Ptex
Classes | Namespaces | Macros | Typedefs
PtexCache.h File Reference
#include "PtexPlatform.h"
#include <assert.h>
#include "PtexMutex.h"
#include "Ptexture.h"
#include "PtexDict.h"

Go to the source code of this file.

Classes

class  PtexLruItem
 One item in a cache, typically an open file or a block of memory. More...
 
class  PtexLruList
 A list of items kept in least-recently-used (LRU) order. More...
 
class  PtexCacheImpl
 Ptex cache implementation. More...
 
class  PtexCachedFile
 Cache entry for open file handle. More...
 
class  PtexCachedData
 Cache entry for allocated memory block. More...
 

Namespaces

 PtexInternal
 For internal use only.
 

Macros

#define USE_SPIN
 
#define STATS_INC(x)
 
#define STATS_ADD(x, y)
 

Typedefs

typedef SpinLock PtexInternal::CacheLock
 
typedef AutoLock< CacheLockPtexInternal::AutoLockCache
 

Macro Definition Documentation

#define STATS_ADD (   x,
 
)

Definition at line 98 of file PtexCache.h.

Referenced by PtexReader::readBlock().

#define STATS_INC (   x)
#define USE_SPIN

Definition at line 46 of file PtexCache.h.