SWC-DB  v0.5.12 C++ documentations
SWC-DB© (Super Wide Column Database) - High Performance Scalable Database (https://github.com/kashirin-alex/swc-db)
SWC::Core::SharedLock Struct Referencefinal

#include <swcdb/core/MutexLock.h>

+ Inheritance diagram for SWC::Core::SharedLock:
+ Collaboration diagram for SWC::Core::SharedLock:

Public Member Functions

SWC_CAN_INLINE SharedLock (std::shared_mutex &m) noexcept
 
 ~SharedLock () noexcept
 
 SharedLock (const SharedLock &)=delete
 
 SharedLock (SharedLock &&)=delete
 
SharedLockoperator= (const SharedLock &)=delete
 
SharedLockoperator= (SharedLock &&)=delete
 

Detailed Description

Definition at line 19 of file MutexLock.h.

Constructor & Destructor Documentation

◆ SharedLock() [1/3]

SWC_CAN_INLINE SWC::Core::SharedLock::SharedLock ( std::shared_mutex &  m)
inlinenoexcept

Definition at line 22 of file MutexLock.h.

◆ ~SharedLock()

SWC::Core::SharedLock::~SharedLock ( )
inlinenoexcept

Definition at line 31 of file MutexLock.h.

◆ SharedLock() [2/3]

SWC::Core::SharedLock::SharedLock ( const SharedLock )
delete

◆ SharedLock() [3/3]

SWC::Core::SharedLock::SharedLock ( SharedLock &&  )
delete

Member Function Documentation

◆ operator=() [1/2]

SharedLock& SWC::Core::SharedLock::operator= ( const SharedLock )
delete

◆ operator=() [2/2]

SharedLock& SWC::Core::SharedLock::operator= ( SharedLock &&  )
delete

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