FastLED 3.9.15
|
Definition at line 17 of file hash_map_lru.h.
#include <hash_map_lru.h>
Classes | |
struct | ValueWithTimestamp |
Public Member Functions | |
HashMapLru (fl::size max_size) | |
fl::size | capacity () const |
void | clear () |
bool | empty () const |
T * | find_value (const Key &key) |
const T * | find_value (const Key &key) const |
void | insert (const Key &key, const T &value) |
T & | operator[] (const Key &key) |
bool | remove (const Key &key) |
void | setMaxSize (fl::size max_size) |
fl::size | size () const |
void | swap (HashMapLru &other) |
Private Member Functions | |
void | evictOldest () |
Private Attributes | |
u32 | mCurrentTime |
HashMap< Key, ValueWithTimestamp, Hash, KeyEqual, INLINED_COUNT > | mMap |
fl::size | mMaxSize |