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::ExecutorTask Class Referenceabstract
Inheritance diagram for duckdb::ExecutorTask:
Collaboration diagram for duckdb::ExecutorTask:

Public Member Functions

 ExecutorTask (Executor &executor, shared_ptr< Event > event)
 
 ExecutorTask (ClientContext &context, shared_ptr< Event > event, const PhysicalOperator &op)
 
void Deschedule () override
 
void Reschedule () override
 Ensures a task is rescheduled to the correct queue.
 
virtual TaskExecutionResult ExecuteTask (TaskExecutionMode mode)=0
 
TaskExecutionResult Execute (TaskExecutionMode mode) override
 
- Public Member Functions inherited from duckdb::Task
virtual bool TaskBlockedOnResult () const
 
virtual string TaskType () const
 
- Public Member Functions inherited from duckdb::enable_shared_from_this< Task >
shared_ptr< Taskshared_from_this ()
 
shared_ptr< Task constshared_from_this () const
 

Public Attributes

Executorexecutor
 
shared_ptr< Eventevent
 
unique_ptr< ThreadContextthread_context
 
optional_ptr< const PhysicalOperatorop
 
- Public Attributes inherited from duckdb::Task
optional_ptr< ProducerTokentoken
 

Private Attributes

ClientContextcontext
 

Additional Inherited Members

- Protected Member Functions inherited from duckdb::enable_shared_from_this< Task >
 enable_shared_from_this (enable_shared_from_this const &) noexcept
 
enable_shared_from_thisoperator= (enable_shared_from_this const &) noexcept
 

Detailed Description

Execute a task within an executor, including exception handling This should be used within queries

Member Function Documentation

◆ Deschedule()

void duckdb::ExecutorTask::Deschedule ( )
overridevirtual

Descheduling a task ensures the task is not executed, but remains available for rescheduling as long as required, generally until some code in an operator calls the InterruptState::Callback() method of a state of the InterruptMode::TASK mode.

Reimplemented from duckdb::Task.

◆ Reschedule()

void duckdb::ExecutorTask::Reschedule ( )
overridevirtual

Ensures a task is rescheduled to the correct queue.

Reimplemented from duckdb::Task.

◆ Execute()

TaskExecutionResult duckdb::ExecutorTask::Execute ( TaskExecutionMode  mode)
overridevirtual

Execute the task in the specified execution mode If mode is PROCESS_ALL, Execute should always finish processing and return TASK_FINISHED If mode is PROCESS_PARTIAL, Execute can return TASK_NOT_FINISHED, in which case Execute will be called again In case of an error, TASK_ERROR is returned In case the task has interrupted, BLOCKED is returned.

Implements duckdb::Task.


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