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::SegmentLock Struct Reference
Collaboration diagram for duckdb::SegmentLock:

Public Member Functions

 SegmentLock (mutex &lock)
 
 SegmentLock (const SegmentLock &other)=delete
 
SegmentLockoperator= (const SegmentLock &)=delete
 
 SegmentLock (SegmentLock &&other) noexcept
 enable move constructors
 
SegmentLockoperator= (SegmentLock &&other) noexcept
 
void Release ()
 

Private Attributes

unique_lock< mutex > lock
 

Constructor & Destructor Documentation

◆ SegmentLock() [1/3]

duckdb::SegmentLock::SegmentLock ( )
inline
23487 {
23488 }

◆ SegmentLock() [2/3]

duckdb::SegmentLock::SegmentLock ( mutex &  lock)
inlineexplicit
23489 : lock(lock) {
23490 }

◆ SegmentLock() [3/3]

duckdb::SegmentLock::SegmentLock ( SegmentLock &&  other)
inlinenoexcept

enable move constructors

23495 {
23496 std::swap(lock, other.lock);
23497 }

Member Function Documentation

◆ operator=()

SegmentLock & duckdb::SegmentLock::operator= ( SegmentLock &&  other)
inlinenoexcept
23498 {
23499 std::swap(lock, other.lock);
23500 return *this;
23501 }

◆ Release()

void duckdb::SegmentLock::Release ( )
inline
23503 {
23504 lock.unlock();
23505 }

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