![]() |
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.
|
State that is kept during the load phase of a C API extension. More...

Public Member Functions | |
| DuckDBExtensionLoadState (DatabaseInstance &db_p, ExtensionInitResult &init_result_p) | |
| duckdb_extension_info | ToCStruct () |
| Convert to an opaque C API pointer. | |
Static Public Member Functions | |
| static DuckDBExtensionLoadState & | Get (duckdb_extension_info info) |
| Create a DuckDBExtensionLoadState reference from a C API opaque pointer. | |
Public Attributes | |
| DatabaseInstance & | db |
| Ref to the database being loaded. | |
| ExtensionInitResult & | init_result |
| The init result from initializing the extension. | |
| unique_ptr< DatabaseWrapper > | database_data |
| duckdb_ext_api_v1 | api_struct |
| bool | has_error = false |
| Error handling. | |
| ErrorData | error_data |
| The stored error from the loading process. | |
State that is kept during the load phase of a C API extension.
|
inlineexplicit |
|
inlinestatic |
Create a DuckDBExtensionLoadState reference from a C API opaque pointer.

|
inline |
Convert to an opaque C API pointer.
| unique_ptr<DatabaseWrapper> duckdb::DuckDBExtensionLoadState::database_data |
This is the duckdb_database struct that will be passed to the extension during initialization. Note that the extension does not need to free it.
| duckdb_ext_api_v1 duckdb::DuckDBExtensionLoadState::api_struct |
The function pointer struct passed to the extension. The extension is expected to copy this struct during initialization