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::InterruptState Class Reference

State required to make the callback after some asynchronous operation within an operator source / sink. More...

#include <duckdb.hpp>

Collaboration diagram for duckdb::InterruptState:

Public Member Functions

 InterruptState ()
 Default interrupt state will be set to InterruptMode::NO_INTERRUPTS and throw an error on use of Callback()
 
 InterruptState (weak_ptr< Task > task)
 Register the task to be interrupted and set mode to InterruptMode::TASK, the preferred way to handle interrupts.
 
 InterruptState (weak_ptr< InterruptDoneSignalState > done_signal)
 Register signal state and set mode to InterruptMode::BLOCKING, used for code paths without Task.
 
DUCKDB_API void Callback () const
 Perform the callback to indicate the Interrupt is over.
 

Protected Attributes

InterruptMode mode
 Current interrupt mode.
 
weak_ptr< Taskcurrent_task
 Task ptr for InterruptMode::TASK.
 
weak_ptr< InterruptDoneSignalStatesignal_state
 Signal state for InterruptMode::BLOCKING.
 

Detailed Description

State required to make the callback after some asynchronous operation within an operator source / sink.


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