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

Public Member Functions

 StorageLockKey (shared_ptr< StorageLockInternals > internals, StorageLockType type)
StorageLockType GetType () const

Private Attributes

shared_ptr< StorageLockInternals > internals
StorageLockType type

Constructor & Destructor Documentation

◆ StorageLockKey()

duckdb::StorageLockKey::StorageLockKey ( shared_ptr< StorageLockInternals > internals,
StorageLockType type )
426149 : internals(std::move(internals_p)), type(type) {
426150}

◆ ~StorageLockKey()

duckdb::StorageLockKey::~StorageLockKey ( )
426152 {
426153 if (type == StorageLockType::EXCLUSIVE) {
426154 internals->ReleaseExclusiveLock();
426155 } else {
426156 D_ASSERT(type == StorageLockType::SHARED);
426157 internals->ReleaseSharedLock();
426158 }
426159}

Member Function Documentation

◆ GetType()

StorageLockType duckdb::StorageLockKey::GetType ( ) const
inline
23439 {
23440 return type;
23441 }

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