#include <pcl/outofcore/impl/lru_cache.hpp>
|
| LRUCache (size_t c) |
|
bool | hasKey (const KeyT &k) |
|
CacheItemT & | get (const KeyT &k) |
|
void | touch (const KeyT &key) |
|
bool | insert (const KeyT &key, const CacheItemT &value) |
|
void | setCapacity (size_t capacity) |
|
CacheItemT & | tailItem () |
|
size_t | sizeOf (const CacheItemT &value) |
|
bool | evict (int item_count=1) |
|
template<typename KeyT, typename CacheItemT>
class LRUCache< KeyT, CacheItemT >
Definition at line 27 of file lru_cache.hpp.
template<typename KeyT , typename CacheItemT >
typedef std::map<KeyT, std::pair<CacheItemT, typename KeyIndex::iterator> > LRUCache< KeyT, CacheItemT >::Cache |
template<typename KeyT , typename CacheItemT >
template<typename KeyT , typename CacheItemT >
template<typename KeyT , typename CacheItemT >
template<typename KeyT , typename CacheItemT >
template<typename KeyT , typename CacheItemT >
bool LRUCache< KeyT, CacheItemT >::evict |
( |
int |
item_count = 1 | ) |
|
|
inline |
template<typename KeyT , typename CacheItemT >
CacheItemT& LRUCache< KeyT, CacheItemT >::get |
( |
const KeyT & |
k | ) |
|
|
inline |
template<typename KeyT , typename CacheItemT >
bool LRUCache< KeyT, CacheItemT >::hasKey |
( |
const KeyT & |
k | ) |
|
|
inline |
template<typename KeyT , typename CacheItemT >
bool LRUCache< KeyT, CacheItemT >::insert |
( |
const KeyT & |
key, |
|
|
const CacheItemT & |
value |
|
) |
| |
|
inline |
template<typename KeyT , typename CacheItemT >
void LRUCache< KeyT, CacheItemT >::setCapacity |
( |
size_t |
capacity | ) |
|
|
inline |
template<typename KeyT , typename CacheItemT >
size_t LRUCache< KeyT, CacheItemT >::sizeOf |
( |
const CacheItemT & |
value | ) |
|
|
inline |
template<typename KeyT , typename CacheItemT >
CacheItemT& LRUCache< KeyT, CacheItemT >::tailItem |
( |
| ) |
|
|
inline |
template<typename KeyT , typename CacheItemT >
void LRUCache< KeyT, CacheItemT >::touch |
( |
const KeyT & |
key | ) |
|
|
inline |
template<typename KeyT , typename CacheItemT >
template<typename KeyT , typename CacheItemT >
size_t LRUCache< KeyT, CacheItemT >::capacity_ |
template<typename KeyT , typename CacheItemT >
template<typename KeyT , typename CacheItemT >
size_t LRUCache< KeyT, CacheItemT >::size_ |
The documentation for this class was generated from the following file:
- /build/pcl-iwPQmU/pcl-1.8.0+dfsg1/outofcore/include/pcl/outofcore/impl/lru_cache.hpp