#include <storage.hh>
Public Member Functions | |
DepthCache (std::size_t depth) | |
DATA * | find (KEY key) |
DATA * | find_nolock (KEY key) |
void | insert (KEY key, DATA *data) |
void | insert_nolock (KEY key, DATA *data) |
utility::Mutex & | mutex () |
void | remove (KEY key) |
void | remove_nolock (KEY key) |
std::pair< bool, KEY > | will_drop () |
~DepthCache () | |
Private Types | |
typedef std::map< KEY, DATA * > | MapType |
typedef std::deque< KEY > | QueueType |
Private Member Functions | |
DATA * | find_ (KEY key) |
void | insert_ (KEY key, DATA *data) |
void | pop_oldest_ () |
void | remove_ (KEY key) |
std::pair< bool, KEY > | will_drop_ () |
Private Attributes | |
const std::size_t | m_depth |
utility::Mutex | m_lock |
MapType | m_map |
QueueType | m_queue |
Definition at line 131 of file Legacy/include/MultiSense/details/storage.hh.
|
private |
Definition at line 190 of file Legacy/include/MultiSense/details/storage.hh.
|
private |
Definition at line 185 of file Legacy/include/MultiSense/details/storage.hh.
|
inline |
Definition at line 134 of file Legacy/include/MultiSense/details/storage.hh.
|
inline |
Definition at line 137 of file Legacy/include/MultiSense/details/storage.hh.
|
inline |
Definition at line 155 of file Legacy/include/MultiSense/details/storage.hh.
|
inlineprivate |
Definition at line 192 of file Legacy/include/MultiSense/details/storage.hh.
|
inline |
Definition at line 151 of file Legacy/include/MultiSense/details/storage.hh.
|
inline |
Definition at line 164 of file Legacy/include/MultiSense/details/storage.hh.
|
inlineprivate |
Definition at line 201 of file Legacy/include/MultiSense/details/storage.hh.
|
inline |
Definition at line 160 of file Legacy/include/MultiSense/details/storage.hh.
|
inline |
Definition at line 147 of file Legacy/include/MultiSense/details/storage.hh.
|
inlineprivate |
Definition at line 236 of file Legacy/include/MultiSense/details/storage.hh.
|
inline |
Definition at line 173 of file Legacy/include/MultiSense/details/storage.hh.
|
inlineprivate |
Definition at line 219 of file Legacy/include/MultiSense/details/storage.hh.
|
inline |
Definition at line 169 of file Legacy/include/MultiSense/details/storage.hh.
|
inline |
Definition at line 182 of file Legacy/include/MultiSense/details/storage.hh.
|
inlineprivate |
Definition at line 252 of file Legacy/include/MultiSense/details/storage.hh.
|
private |
Definition at line 263 of file Legacy/include/MultiSense/details/storage.hh.
|
private |
Definition at line 266 of file Legacy/include/MultiSense/details/storage.hh.
|
private |
Definition at line 264 of file Legacy/include/MultiSense/details/storage.hh.
|
private |
Definition at line 265 of file Legacy/include/MultiSense/details/storage.hh.