Hydra 0.20
|
#include <LoadCache.h>
Public Types | |
typedef T | data_type |
typedef KEY | key_type |
typedef desktop::cache_ptr< T, KEY > | cache_ptr |
Public Member Functions | |
LoadCacheBase (size_t maxhold) | |
bool | containsItem (const KEY &key) const |
void | insertItem (const KEY &key, const std::shared_ptr< T > &item) |
desktop::cache_ptr< T, KEY > | getItem (const KEY &key) |
Protected Attributes | |
size_t | dm_maxhold |
size_t | dm_curhold |
std::map< KEY, LoadCacheEntry < T, KEY > > | dm_keymap |
std::list< typename std::map < KEY, LoadCacheEntry< T, KEY > >::iterator > | dm_dellist |
Friends | |
class | desktop::cache_ptr< T, KEY > |
The LoaderCache foundation.
This version doesn't have the automatic loader type stuff.