![]() |
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.
|
Struct that holds encoder buffers. More...
#include <duckdb.hpp>

Public Member Functions | |
| void | Initialize (idx_t encoded_buffer_size) |
| char * | Ptr () const |
| idx_t | GetCapacity () const |
| idx_t | GetSize () const |
| void | SetSize (const idx_t buffer_size) |
| bool | HasDataToRead () const |
| void | Reset () |
Public Attributes | |
| idx_t | cur_pos = 0 |
| idx_t | actual_encoded_buffer_size = 0 |
| The actual encoded buffer size, from the last file_handle read. | |
| bool | last_buffer = false |
| If this is the last buffer. | |
Private Attributes | |
| duckdb::unique_ptr< char[]> | encoded_buffer |
| The encoded buffer, we only have one per file, so we cache it and make sure to pass over unused bytes. | |
| idx_t | encoded_buffer_size |
| The encoded buffer size is defined as buffer_size/GetRatio() | |
Struct that holds encoder buffers.
|
inline |