| Ptex
    | 
#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< CacheLock > | PtexInternal::AutoLockCache | 
| #define STATS_ADD | ( | x, | |
| y | |||
| ) | 
Definition at line 98 of file PtexCache.h.
Referenced by PtexReader::readBlock().
| #define STATS_INC | ( | x | ) | 
Definition at line 97 of file PtexCache.h.
Referenced by PtexCacheImpl::addData(), PtexCacheImpl::addFile(), PtexReader::readBlock(), PtexCacheImpl::removeData(), PtexCacheImpl::removeFile(), and PtexReader::seek().
| #define USE_SPIN | 
Definition at line 46 of file PtexCache.h.
 1.8.10
 1.8.10