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

Public Member Functions

 Counter (idx_t size)
bool IterateAndCheckCounter ()

Private Attributes

atomic< idx_t > counter

Constructor & Destructor Documentation

◆ Counter()

duckdb::Counter::Counter ( idx_t size)
inlineexplicit
327806 : counter(size) {
327807 }

Member Function Documentation

◆ IterateAndCheckCounter()

bool duckdb::Counter::IterateAndCheckCounter ( )
inline
327808 {
327809 D_ASSERT(counter.load() > 0);
327810 idx_t post_decreast = --counter;
327811 return (post_decreast == 0);
327812 }
uint64_t idx_t
a saner size_t for loop indices etc
Definition duckdb.hpp:237

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