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.
Loading...
Searching...
No Matches
duckdb::PackedDataBuffer< EMPTY > Struct Template Reference

Public Member Functions

void SetBuffer (uint16_t *buffer)
void Reset ()
void Insert (uint16_t packed_data)

Public Attributes

idx_t index
uint16_t * buffer

Constructor & Destructor Documentation

◆ PackedDataBuffer()

template<bool EMPTY>
duckdb::PackedDataBuffer< EMPTY >::PackedDataBuffer ( )
inline
392356 : index(0), buffer(nullptr) {
392357 }

Member Function Documentation

◆ SetBuffer()

template<bool EMPTY>
void duckdb::PackedDataBuffer< EMPTY >::SetBuffer ( uint16_t * buffer)
inline
392360 {
392361 this->buffer = buffer;
392362 this->index = 0;
392363 }

◆ Reset()

template<bool EMPTY>
void duckdb::PackedDataBuffer< EMPTY >::Reset ( )
inline
392365 {
392366 this->index = 0;
392367 }

◆ Insert()

template<bool EMPTY>
void duckdb::PackedDataBuffer< EMPTY >::Insert ( uint16_t packed_data)
inline
392369 {
392370 if (!EMPTY) {
392371 buffer[index] = packed_data;
392372 }
392373 index++;
392374 }
Definition duckdb.cpp:392354

The documentation for this struct was generated from the following file: