#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.
§ Cache
template<typename KeyT , typename CacheItemT >
| typedef std::map<KeyT, std::pair<CacheItemT, typename KeyIndex::iterator> > LRUCache< KeyT, CacheItemT >::Cache |
§ CacheIterator
template<typename KeyT , typename CacheItemT >
§ KeyIndex
template<typename KeyT , typename CacheItemT >
§ KeyIndexIterator
template<typename KeyT , typename CacheItemT >
§ LRUCache()
template<typename KeyT , typename CacheItemT >
§ evict()
template<typename KeyT , typename CacheItemT >
| bool LRUCache< KeyT, CacheItemT >::evict |
( |
int |
item_count = 1 | ) |
|
|
inline |
§ get()
template<typename KeyT , typename CacheItemT >
| CacheItemT& LRUCache< KeyT, CacheItemT >::get |
( |
const KeyT & |
k | ) |
|
|
inline |
§ hasKey()
template<typename KeyT , typename CacheItemT >
| bool LRUCache< KeyT, CacheItemT >::hasKey |
( |
const KeyT & |
k | ) |
|
|
inline |
§ insert()
template<typename KeyT , typename CacheItemT >
| bool LRUCache< KeyT, CacheItemT >::insert |
( |
const KeyT & |
key, |
|
|
const CacheItemT & |
value |
|
) |
| |
|
inline |
§ setCapacity()
template<typename KeyT , typename CacheItemT >
| void LRUCache< KeyT, CacheItemT >::setCapacity |
( |
size_t |
capacity | ) |
|
|
inline |
§ sizeOf()
template<typename KeyT , typename CacheItemT >
| size_t LRUCache< KeyT, CacheItemT >::sizeOf |
( |
const CacheItemT & |
value | ) |
|
|
inline |
§ tailItem()
template<typename KeyT , typename CacheItemT >
| CacheItemT& LRUCache< KeyT, CacheItemT >::tailItem |
( |
| ) |
|
|
inline |
§ touch()
template<typename KeyT , typename CacheItemT >
| void LRUCache< KeyT, CacheItemT >::touch |
( |
const KeyT & |
key | ) |
|
|
inline |
§ cache_
template<typename KeyT , typename CacheItemT >
§ capacity_
template<typename KeyT , typename CacheItemT >
| size_t LRUCache< KeyT, CacheItemT >::capacity_ |
§ key_index_
template<typename KeyT , typename CacheItemT >
§ size_
template<typename KeyT , typename CacheItemT >
| size_t LRUCache< KeyT, CacheItemT >::size_ |
The documentation for this class was generated from the following file:
- /builddir/build/BUILD/pcl-1.8.0/outofcore/include/pcl/outofcore/impl/lru_cache.hpp