![]() |
Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
|

Classes | |
| struct | Entry |
Public Types | |
| using | key_type = Key |
| using | mapped_type = shared_ptr< Val > |
| using | hasher = KeyHash |
| using | key_equal = KeyEqual |
Public Member Functions | |
| SharedLruCache (idx_t max_total_weight_p) | |
| SharedLruCache (const SharedLruCache &)=delete | |
| SharedLruCache & | operator= (const SharedLruCache &)=delete |
| template<typename... Types> | |
| void | Put (Key key, shared_ptr< Val > value, Types... constructor_args) |
| bool | Delete (const Key &key) |
| shared_ptr< Val > | Get (const Key &key) |
| void | Clear () |
| idx_t | EvictToReduceAtLeast (idx_t target_weight) |
| idx_t | Capacity () const |
| idx_t | CurrentTotalWeight () const |
| size_t | Size () const |
| bool | IsEmpty () const |
Private Types | |
| using | EntryMap = unordered_map< Key, Entry, KeyHash, KeyEqual > |
Private Member Functions | |
| void | DeleteImpl (typename EntryMap::iterator iter) |
| void | EvictIfNeeded (idx_t required_weight) |
Private Attributes | |
| const idx_t | max_total_weight |
| idx_t | current_total_weight |
| EntryMap | entry_map |
| list< Key > | lru_list |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprivate |
|
inlineprivate |