![]() |
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 Types | |
| using | WindowHashGroupPtr = unique_ptr<WindowHashGroup> |
| using | ScannerPtr = unique_ptr<TupleDataChunkIterator> |
| using | Task = WindowSourceTask |
| using | TaskPtr = optional_ptr<Task> |
| using | PartitionBlock = std::pair<idx_t, idx_t> |
Public Member Functions | |
| WindowGlobalSourceState (ClientContext &context_p, WindowGlobalSinkState &gsink_p) | |
| bool | HasMoreTasks () const |
| Are there any more tasks? | |
| bool | HasUnfinishedTasks () const |
| bool | TryNextTask (TaskPtr &task, Task &task_local) |
| Get the next task given the current state. | |
| idx_t | MaxThreads () override |
| Public Member Functions inherited from duckdb::GlobalSourceState | |
| 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 | |
| ClientContext & | client |
| Context for executing computations. | |
| WindowGlobalSinkState & | gsink |
| All the sunk data. | |
| unique_ptr< GlobalSourceState > | hashed_source |
| The hashed sort global source state for delayed sorting. | |
| vector< WindowHashGroupPtr > | window_hash_groups |
| The sorted hash groups. | |
| idx_t | total_blocks = 0 |
| The total number of blocks to process;. | |
| vector< PartitionBlock > | partition_blocks |
| The sorted list of (blocks, group_idx) pairs. | |
| vector< idx_t > | active_groups |
| The ordered set of active groups. | |
| atomic< idx_t > | next_group |
| The number of started tasks. | |
| atomic< idx_t > | locals |
| The number of local states. | |
| idx_t | total_tasks = 0 |
| The total number of tasks. | |
| atomic< idx_t > | started |
| The number of started tasks. | |
| atomic< idx_t > | finished |
| The number of finished tasks. | |
| atomic< bool > | stopped |
| Stop producing tasks. | |
| atomic< idx_t > | completed |
| The number of tasks completed. This will combine both build and evaluate. | |
Protected Member Functions | |
| void | CreateTaskList () |
| Build task list. | |
| void | FinishTask (TaskPtr task) |
| Finish a task. | |
| duckdb::WindowGlobalSourceState::WindowGlobalSourceState | ( | ClientContext & | context_p, |
| WindowGlobalSinkState & | gsink_p ) |
|
inline |
Are there any more tasks?

|
inline |
| bool duckdb::WindowGlobalSourceState::TryNextTask | ( | TaskPtr & | task, |
| Task & | task_local ) |
Get the next task given the current state.

|
inlineoverridevirtual |
Reimplemented from duckdb::GlobalSourceState.
|
protected |
Build task list.
|
protected |
Finish a task.
