![]() |
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 | |
| BatchedBufferedData (ClientContext &context) | |
| void | Append (const DataChunk &chunk, idx_t batch) |
| void | BlockSink (const InterruptState &blocked_sink, idx_t batch) |
| bool | ShouldBlockBatch (idx_t batch) |
| StreamExecutionResult | ExecuteTaskInternal (StreamQueryResult &result, ClientContextLock &context_lock) override |
| unique_ptr< DataChunk > | Scan () override |
| void | UpdateMinBatchIndex (idx_t min_batch_index) |
| bool | IsMinimumBatchIndex (lock_guard< mutex > &lock, idx_t batch) |
| void | CompleteBatch (idx_t batch) |
| bool | BufferIsEmpty () |
| void | UnblockSinks () override |
| idx_t | ReadQueueCapacity () const |
| idx_t | BufferCapacity () const |
| Public Member Functions inherited from duckdb::BufferedData | |
| BufferedData (Type type, ClientContext &context) | |
| StreamExecutionResult | ReplenishBuffer (StreamQueryResult &result, ClientContextLock &context_lock) |
| shared_ptr< ClientContext > | GetContext () |
| bool | Closed () const |
| void | Close () |
| template<class TARGET> | |
| TARGET & | Cast () |
| template<class TARGET> | |
| const TARGET & | Cast () const |
Static Public Attributes | |
| static constexpr const BufferedData::Type | TYPE = BufferedData::Type::BATCHED |
Private Member Functions | |
| void | ResetReplenishState () |
| void | MoveCompletedBatches (lock_guard< mutex > &lock) |
Private Attributes | |
| map< idx_t, InProgressBatch > | buffer |
| The buffer where chunks are written before they are ready to be read. | |
| idx_t | buffer_capacity |
| atomic< idx_t > | buffer_byte_count |
| deque< unique_ptr< DataChunk > > | read_queue |
| The queue containing the chunks that can be read. | |
| idx_t | read_queue_capacity |
| atomic< idx_t > | read_queue_byte_count |
| map< idx_t, InterruptState > | blocked_sinks |
| idx_t | min_batch |
| idx_t | lowest_moved_batch = 0 |
| Debug variable to verify that order is preserved correctly. | |
Additional Inherited Members | |
| Protected Types inherited from duckdb::BufferedData | |
| enum class | Type { SIMPLE , BATCHED } |
| Protected Attributes inherited from duckdb::BufferedData | |
| Type | type |
| weak_ptr< ClientContext > | context |
| This is weak to avoid a cyclical reference. | |
| idx_t | total_buffer_size |
| The maximum amount of memory we should keep buffered. | |
| mutex | glock |
| Protect against populate/fetch race condition. | |
|
explicit |
| void duckdb::BatchedBufferedData::BlockSink | ( | const InterruptState & | blocked_sink, |
| idx_t | batch ) |
| bool duckdb::BatchedBufferedData::ShouldBlockBatch | ( | idx_t | batch | ) |
|
overridevirtual |
Implements duckdb::BufferedData.
|
overridevirtual |
Implements duckdb::BufferedData.
| void duckdb::BatchedBufferedData::UpdateMinBatchIndex | ( | idx_t | min_batch_index | ) |
| bool duckdb::BatchedBufferedData::IsMinimumBatchIndex | ( | lock_guard< mutex > & | lock, |
| idx_t | batch ) |
| void duckdb::BatchedBufferedData::CompleteBatch | ( | idx_t | batch | ) |
| bool duckdb::BatchedBufferedData::BufferIsEmpty | ( | ) |
|
overridevirtual |
Implements duckdb::BufferedData.
|
inline |
|
inline |
|
private |