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::QueryProgress Struct Reference

Public Member Functions

void Initialize ()
void Restart ()
double GetPercentage ()
uint64_t GetRowsProcesseed ()
uint64_t GetTotalRowsToProcess ()
QueryProgress & operator= (const QueryProgress &other)
 QueryProgress (const QueryProgress &other)

Private Attributes

atomic< double > percentage
atomic< uint64_t > rows_processed
atomic< uint64_t > total_rows_to_process

Friends

class ProgressBar

Constructor & Destructor Documentation

◆ QueryProgress() [1/2]

duckdb::QueryProgress::QueryProgress ( )
92824 {
92825 Initialize();
92826}

◆ QueryProgress() [2/2]

duckdb::QueryProgress::QueryProgress ( const QueryProgress & other)
92837 {
92838 percentage = other.percentage.load();
92839 rows_processed = other.rows_processed.load();
92840 total_rows_to_process = other.total_rows_to_process.load();
92841}

Member Function Documentation

◆ Initialize()

void duckdb::QueryProgress::Initialize ( )
92802 {
92803 percentage = -1;
92804 rows_processed = 0;
92805 total_rows_to_process = 0;
92806}

◆ Restart()

void duckdb::QueryProgress::Restart ( )
92808 {
92809 percentage = 0;
92810 rows_processed = 0;
92811 total_rows_to_process = 0;
92812}

◆ GetPercentage()

double duckdb::QueryProgress::GetPercentage ( )
92814 {
92815 return percentage;
92816}

◆ GetRowsProcesseed()

uint64_t duckdb::QueryProgress::GetRowsProcesseed ( )
92817 {
92818 return rows_processed;
92819}

◆ GetTotalRowsToProcess()

uint64_t duckdb::QueryProgress::GetTotalRowsToProcess ( )
92820 {
92821 return total_rows_to_process;
92822}

◆ operator=()

QueryProgress & duckdb::QueryProgress::operator= ( const QueryProgress & other)
92828 {
92829 if (this != &other) {
92830 percentage = other.percentage.load();
92831 rows_processed = other.rows_processed.load();
92832 total_rows_to_process = other.total_rows_to_process.load();
92833 }
92834 return *this;
92835}

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