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::DuckDB Class Reference
Collaboration diagram for duckdb::DuckDB:

Public Member Functions

DUCKDB_API DuckDB (const char *path=nullptr, DBConfig *config=nullptr)
 
DUCKDB_API DuckDB (const string &path, DBConfig *config=nullptr)
 
DUCKDB_API DuckDB (DatabaseInstance &instance)
 
template<class T >
void LoadStaticExtension ()
 
DUCKDB_API FileSystemGetFileSystem ()
 
DUCKDB_API idx_t NumberOfThreads ()
 
DUCKDB_API bool ExtensionIsLoaded (const string &name)
 

Static Public Member Functions

static DUCKDB_API const charSourceID ()
 
static DUCKDB_API const charLibraryVersion ()
 
static DUCKDB_API const charReleaseCodename ()
 
static DUCKDB_API idx_t StandardVectorSize ()
 
static DUCKDB_API string Platform ()
 

Public Attributes

shared_ptr< DatabaseInstanceinstance
 Reference to the actual database instance.
 

Detailed Description

The database object. This object holds the catalog and all the database-specific meta information.

Member Function Documentation

◆ LoadStaticExtension()

template<class T >
void duckdb::DuckDB::LoadStaticExtension ( )
inline
54253 {
54254 T extension;
54255 auto &manager = ExtensionManager::Get(*instance);
54256 auto load_info = manager.BeginLoad(extension.Name());
54257 if (!load_info) {
54258 // already loaded - return
54259 return;
54260 }
54261
54262 // Instantiate a new loader
54263 ExtensionLoader loader(*load_info);
54264
54265 // Call the Load method of the extension
54266 extension.Load(loader);
54267
54268 // Finalize the loading process
54269 loader.FinalizeLoad();
54270
54271 ExtensionInstallInfo install_info;
54272 install_info.mode = ExtensionInstallMode::STATICALLY_LINKED;
54273 install_info.version = extension.Version();
54274 load_info->FinishLoad(install_info);
54275 }
shared_ptr< DatabaseInstance > instance
Reference to the actual database instance.
Definition duckdb.hpp:54248
@ STATICALLY_LINKED
Extension was statically linked.

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