![]() |
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 | |
| FixedBatchCopyGlobalState (ClientContext &context_p, idx_t minimum_memory_per_thread) | |
| void | Initialize (ClientContext &context, const PhysicalBatchCopyToFile &op) |
| void | AddBatchData (idx_t batch_index, unique_ptr< PreparedBatchData > new_batch, idx_t memory_usage) |
| idx_t | MaxThreads (idx_t source_max_threads) override |
| Public Member Functions inherited from duckdb::GlobalSinkState | |
| template<class TARGET> | |
| TARGET & | Cast () |
| template<class TARGET> | |
| const TARGET & | Cast () const |
| Public Member Functions inherited from duckdb::StateWithBlockableTasks | |
| unique_lock< mutex > | Lock () |
| void | PreventBlocking (const unique_lock< mutex > &guard) |
| bool | BlockTask (const unique_lock< mutex > &guard, const InterruptState &interrupt_state) |
| Add a task to 'blocked_tasks' before returning SourceResultType::BLOCKED (must hold the lock). | |
| bool | CanBlock (const unique_lock< mutex > &guard) const |
| bool | UnblockTasks (const unique_lock< mutex > &guard) |
| Unblock all tasks (must hold the lock). | |
| SinkResultType | BlockSink (const unique_lock< mutex > &guard, const InterruptState &interrupt_state) |
| SourceResultType | BlockSource (const unique_lock< mutex > &guard, const InterruptState &interrupt_state) |
| void | VerifyLock (const unique_lock< mutex > &guard) const |
Public Attributes | |
| BatchMemoryManager | memory_manager |
| BatchTaskManager< BatchCopyTask > | task_manager |
| mutex | lock |
| mutex | flush_lock |
| atomic< bool > | initialized |
| Whether or not the copy has been initialized. | |
| atomic< idx_t > | rows_copied |
| The total number of rows copied to the file. | |
| unique_ptr< GlobalFunctionData > | global_state |
| Global copy state. | |
| idx_t | batch_size |
| The desired batch size (if any). | |
| map< idx_t, unique_ptr< FixedRawBatchData > > | raw_batches |
| Unpartitioned batches. | |
| map< idx_t, unique_ptr< FixedPreparedBatchData > > | batch_data |
| The prepared batch data by batch index - ready to flush. | |
| atomic< idx_t > | scheduled_batch_index |
| The index of the latest batch index that has been scheduled. | |
| atomic< idx_t > | flushed_batch_index |
| The index of the latest batch index that has been flushed. | |
| atomic< bool > | any_flushing |
| Whether or not any thread is flushing. | |
| atomic< bool > | any_finished |
| Whether or not any threads are finished. | |
| idx_t | minimum_memory_per_thread |
| Minimum memory per thread. | |
| unique_ptr< CopyToFileInfo > | written_file_info |
| Written file info (for RETURN_STATS). | |
| Public Attributes inherited from duckdb::GlobalSinkState | |
| SinkFinalizeType | state |
Static Public Attributes | |
| static constexpr const idx_t | MINIMUM_MEMORY_PER_COLUMN_PER_THREAD = 4ULL * 1024ULL * 1024ULL |
|
inlineexplicit |
|
inline |
|
inline |
|
inlineoverridevirtual |
Reimplemented from duckdb::GlobalSinkState.