Ptex
|
#include <PtexHashMap.h>
Classes | |
class | Entry |
Public Member Functions | |
PtexHashMap () | |
~PtexHashMap () | |
void | clear () |
uint32_t | size () const |
Value | get (Key &key) |
Value | tryInsert (Key &key, Value value, size_t &newMemUsed) |
template<typename Fn > | |
void | foreach (Fn &fn) |
Private Member Functions | |
PtexHashMap (const PtexHashMap &) | |
void | operator= (const PtexHashMap &) |
void | initContents () |
void | deleteContents () |
Entry * | getEntries () |
Entry * | lockEntries () |
void | unlockEntries (Entry *entries) |
Entry * | lockEntriesAndGrowIfNeeded (size_t &newMemUsed) |
Entry * | grow (Entry *oldEntries, size_t &newMemUsed) |
Private Attributes | |
Entry *volatile | _entries |
uint32_t volatile | _numEntries |
uint32_t volatile | _size |
std::vector< Entry * > | _oldEntries |
Definition at line 151 of file PtexHashMap.h.
|
private |
|
inline |
Definition at line 185 of file PtexHashMap.h.
|
inline |
Definition at line 190 of file PtexHashMap.h.
|
inline |
Definition at line 195 of file PtexHashMap.h.
Referenced by PtexReader::prune().
|
inlineprivate |
Definition at line 172 of file PtexHashMap.h.
Referenced by PtexHashMap< StringKey, PtexCachedReader * >::clear(), and PtexHashMap< StringKey, PtexCachedReader * >::~PtexHashMap().
|
inline |
Definition at line 252 of file PtexHashMap.h.
Referenced by PtexReaderCache::purgeAll().
|
inline |
Definition at line 203 of file PtexHashMap.h.
Referenced by PtexReaderCache::get(), PtexReader::getData(), and PtexReaderCache::purge().
|
inlineprivate |
Definition at line 262 of file PtexHashMap.h.
Referenced by PtexHashMap< StringKey, PtexCachedReader * >::foreach(), and PtexHashMap< StringKey, PtexCachedReader * >::get().
|
inlineprivate |
Definition at line 294 of file PtexHashMap.h.
Referenced by PtexHashMap< StringKey, PtexCachedReader * >::lockEntriesAndGrowIfNeeded().
|
inlineprivate |
Definition at line 165 of file PtexHashMap.h.
Referenced by PtexHashMap< StringKey, PtexCachedReader * >::clear(), and PtexHashMap< StringKey, PtexCachedReader * >::PtexHashMap().
|
inlineprivate |
Definition at line 270 of file PtexHashMap.h.
Referenced by PtexHashMap< StringKey, PtexCachedReader * >::lockEntriesAndGrowIfNeeded().
|
inlineprivate |
Definition at line 285 of file PtexHashMap.h.
Referenced by PtexHashMap< StringKey, PtexCachedReader * >::tryInsert().
|
private |
|
inline |
Definition at line 201 of file PtexHashMap.h.
Referenced by PtexReaderCache::getStats().
|
inline |
Definition at line 224 of file PtexHashMap.h.
Referenced by PtexReaderCache::get(), and PtexReader::getData().
|
inlineprivate |
Definition at line 280 of file PtexHashMap.h.
Referenced by PtexHashMap< StringKey, PtexCachedReader * >::tryInsert().
|
private |
Definition at line 318 of file PtexHashMap.h.
Referenced by PtexHashMap< StringKey, PtexCachedReader * >::deleteContents(), PtexHashMap< StringKey, PtexCachedReader * >::getEntries(), PtexHashMap< StringKey, PtexCachedReader * >::initContents(), PtexHashMap< StringKey, PtexCachedReader * >::lockEntries(), and PtexHashMap< StringKey, PtexCachedReader * >::unlockEntries().
|
private |
Definition at line 319 of file PtexHashMap.h.
Referenced by PtexHashMap< StringKey, PtexCachedReader * >::deleteContents(), PtexHashMap< StringKey, PtexCachedReader * >::foreach(), PtexHashMap< StringKey, PtexCachedReader * >::get(), PtexHashMap< StringKey, PtexCachedReader * >::grow(), PtexHashMap< StringKey, PtexCachedReader * >::initContents(), PtexHashMap< StringKey, PtexCachedReader * >::lockEntriesAndGrowIfNeeded(), and PtexHashMap< StringKey, PtexCachedReader * >::tryInsert().
|
private |
Definition at line 321 of file PtexHashMap.h.
Referenced by PtexHashMap< StringKey, PtexCachedReader * >::deleteContents(), and PtexHashMap< StringKey, PtexCachedReader * >::grow().
|
private |
Definition at line 320 of file PtexHashMap.h.
Referenced by PtexHashMap< StringKey, PtexCachedReader * >::initContents(), PtexHashMap< StringKey, PtexCachedReader * >::lockEntriesAndGrowIfNeeded(), PtexHashMap< StringKey, PtexCachedReader * >::size(), and PtexHashMap< StringKey, PtexCachedReader * >::tryInsert().