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

Public Member Functions

 ValidChecker (DatabaseInstance &db)
 
DUCKDB_API void Invalidate (string error)
 
DUCKDB_API bool IsInvalidated ()
 
DUCKDB_API string InvalidatedMessage ()
 

Static Public Member Functions

static DUCKDB_API ValidCheckerGet (DatabaseInstance &db)
 
static DUCKDB_API ValidCheckerGet (MetaTransaction &transaction)
 
template<class T >
static bool IsInvalidated (T &o)
 
template<class T >
static void Invalidate (T &o, string error)
 
template<class T >
static string InvalidatedMessage (T &o)
 

Private Attributes

mutex invalidate_lock
 
atomic< bool > is_invalidated
 Set to true when encountering a fatal exception.
 
string invalidated_msg
 The message invalidating the database instance.
 
DatabaseInstancedb
 The database instance.
 

Member Function Documentation

◆ IsInvalidated()

template<class T >
static bool duckdb::ValidChecker::IsInvalidated ( T &  o)
inlinestatic
40258 {
40259 return Get(o).IsInvalidated();
40260 }

◆ Invalidate()

template<class T >
static void duckdb::ValidChecker::Invalidate ( T &  o,
string  error 
)
inlinestatic
40262 {
40263 Get(o).Invalidate(std::move(error));
40264 }

◆ InvalidatedMessage()

template<class T >
static string duckdb::ValidChecker::InvalidatedMessage ( T &  o)
inlinestatic
40267 {
40268 return Get(o).InvalidatedMessage();
40269 }

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