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 (size_t max_size) | |
size_t | 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 (size_t max_size) |
size_t | size () const |
void | swap (HashMapLru &other) |
Private Member Functions | |
void | evictOldest () |
Private Attributes | |
uint32_t | mCurrentTime |
HashMap< Key, ValueWithTimestamp, Hash, KeyEqual, INLINED_COUNT > | mMap |
size_t | mMaxSize |