![]() |
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 Member Functions | |
| LogManager (DatabaseInstance &db, LogConfig config=LogConfig()) | |
| void | Initialize () |
| unique_ptr< Logger > | CreateLogger (LoggingContext context, bool thread_safe=true, bool mutable_settings=false) |
| RegisteredLoggingContext | RegisterLoggingContext (LoggingContext &context) |
| DUCKDB_API bool | RegisterLogStorage (const string &name, shared_ptr< LogStorage > &storage) |
| DUCKDB_API Logger & | GlobalLogger () |
| The global logger can be used whe. | |
| DUCKDB_API shared_ptr< Logger > | GlobalLoggerReference () |
| DUCKDB_API void | Flush () |
| Flush everything. | |
| DUCKDB_API shared_ptr< LogStorage > | GetLogStorage () |
| Get a shared_ptr to the log storage (For example, to scan it) | |
| DUCKDB_API bool | CanScan (LoggingTargetTable table) |
| DUCKDB_API void | SetConfig (DatabaseInstance &db, const LogConfig &config) |
| DUCKDB_API void | SetEnableLogging (bool enable) |
| DUCKDB_API void | SetLogMode (LogMode mode) |
| DUCKDB_API void | SetLogLevel (LogLevel level) |
| DUCKDB_API void | SetEnabledLogTypes (optional_ptr< unordered_set< string > > enabled_log_types) |
| DUCKDB_API void | SetDisabledLogTypes (optional_ptr< unordered_set< string > > disabled_log_types) |
| DUCKDB_API void | SetLogStorage (DatabaseInstance &db, const string &storage_name) |
| DUCKDB_API void | UpdateLogStorageConfig (DatabaseInstance &db, case_insensitive_map_t< Value > &config_value) |
| DUCKDB_API void | SetEnableStructuredLoggers (vector< string > &enabled_logger_types) |
| DUCKDB_API void | TruncateLogStorage () |
| DUCKDB_API LogConfig | GetConfig () |
| DUCKDB_API void | RegisterLogType (unique_ptr< LogType > type) |
| DUCKDB_API optional_ptr< const LogType > | LookupLogType (const string &type) |
| DUCKDB_API void | RegisterDefaultLogTypes () |
Static Public Member Functions | |
| static DUCKDB_API LogManager & | Get (ClientContext &context) |
Protected Member Functions | |
| RegisteredLoggingContext | RegisterLoggingContextInternal (LoggingContext &context) |
| void | WriteLogEntry (timestamp_t, const char *log_type, LogLevel log_level, const char *log_message, const RegisteredLoggingContext &context) |
| void | FlushCachedLogEntries (DataChunk &chunk, const RegisteredLoggingContext &context) |
| void | SetLogStorageInternal (DatabaseInstance &db, const string &storage_name) |
| optional_ptr< const LogType > | LookupLogTypeInternal (const string &type) |
| void | SetConfigInternal (LogConfig config) |
Protected Attributes | |
| mutex | lock |
| LogConfig | config |
| shared_ptr< Logger > | global_logger |
| shared_ptr< LogStorage > | log_storage |
| DatabaseInstance & | db_instance |
| idx_t | next_registered_logging_context_index = 0 |
| case_insensitive_map_t< shared_ptr< LogStorage > > | registered_log_storages |
| case_insensitive_map_t< unique_ptr< LogType > > | registered_log_types |
Friends | |
| class | ThreadSafeLogger |
| class | ThreadLocalLogger |
| class | MutableLogger |