![]() |
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.
|

Public Member Functions | |
| void | SetRemainingSize (idx_t new_remaining_size) |
| Set the remaining size needed for this state (NOTE: does not update the reservation!). | |
| void | SetRemainingSizeAndUpdateReservation (ClientContext &context, idx_t new_remaining_size) |
| Set the remaining size needed for this state and update the reservation. | |
| void | SetZero () |
| Set the remaining size to 0 (NOTE: updates the reservation to 0 as well). | |
| idx_t | GetRemainingSize () const |
| Get the remaining size that was set for this state. | |
| void | SetMinimumReservation (idx_t new_minimum_reservation) |
| Set the minimum reservation for this state. | |
| idx_t | GetMinimumReservation () const |
| Get the minimum reservation for this state. | |
| void | UpdateReservation (ClientContext &context) |
| Updates the reservation based on current remaining size. | |
| idx_t | GetReservation () const |
| Get the reservation of this state. | |
| void | SetMaterializationPenalty (idx_t new_materialization_penalty) |
| Set the materialization penalty for this state. | |
| idx_t | GetMaterializationPenalty () const |
| Get the materialization penalty for this state. | |
Private Member Functions | |
| TemporaryMemoryState (TemporaryMemoryManager &temporary_memory_manager, idx_t minimum_reservation) | |
Private Attributes | |
| TemporaryMemoryManager & | temporary_memory_manager |
| The TemporaryMemoryManager that owns this state. | |
| atomic< idx_t > | remaining_size |
| The remaining size needed if it could fit fully in memory. | |
| atomic< idx_t > | minimum_reservation |
| The minimum reservation for this state. | |
| atomic< idx_t > | reservation |
| How much memory this operator has reserved. | |
| atomic< idx_t > | materialization_penalty |
| The weight used for determining the reservation for this state. | |
Friends | |
| class | TemporaryMemoryManager |
State of the temporary memory to be managed concurrently with other states As long as this is within scope, it is active
|
private |
| duckdb::TemporaryMemoryState::~TemporaryMemoryState | ( | ) |
| void duckdb::TemporaryMemoryState::SetRemainingSize | ( | idx_t | new_remaining_size | ) |
Set the remaining size needed for this state (NOTE: does not update the reservation!).
| void duckdb::TemporaryMemoryState::SetRemainingSizeAndUpdateReservation | ( | ClientContext & | context, |
| idx_t | new_remaining_size ) |
Set the remaining size needed for this state and update the reservation.
| void duckdb::TemporaryMemoryState::SetZero | ( | ) |
Set the remaining size to 0 (NOTE: updates the reservation to 0 as well).
| idx_t duckdb::TemporaryMemoryState::GetRemainingSize | ( | ) | const |
Get the remaining size that was set for this state.

| void duckdb::TemporaryMemoryState::SetMinimumReservation | ( | idx_t | new_minimum_reservation | ) |
Set the minimum reservation for this state.
| idx_t duckdb::TemporaryMemoryState::GetMinimumReservation | ( | ) | const |
Get the minimum reservation for this state.

| void duckdb::TemporaryMemoryState::UpdateReservation | ( | ClientContext & | context | ) |
Updates the reservation based on current remaining size.
| idx_t duckdb::TemporaryMemoryState::GetReservation | ( | ) | const |
Get the reservation of this state.

| void duckdb::TemporaryMemoryState::SetMaterializationPenalty | ( | idx_t | new_materialization_penalty | ) |
Set the materialization penalty for this state.
| idx_t duckdb::TemporaryMemoryState::GetMaterializationPenalty | ( | ) | const |
Get the materialization penalty for this state.