Audacity  2.2.0
BlockFile::ReadLock Class Reference

#include <BlockFile.h>

Inheritance diagram for BlockFile::ReadLock:
movable_ptr_with_deleter< T, Deleter >

Public Types

using Suspension = std::unique_ptr< const BlockFile, ReadLocker >
 

Public Member Functions

 ReadLock (ReadLock &&that)
 
Suspension Suspend () const
 
- Public Member Functions inherited from movable_ptr_with_deleter< T, Deleter >
 movable_ptr_with_deleter ()
 
 movable_ptr_with_deleter (T *p, const Deleter &d)
 
 movable_ptr_with_deleter (movable_ptr_with_deleter &&that)
 
movable_ptr_with_deleteroperator= (movable_ptr_with_deleter &&that)
 

Private Member Functions

 ReadLock (const BlockFile *p, const BlockFile::ReadUnlocker &u)
 

Private Attributes

friend BlockFile
 

Member Typedef Documentation

using BlockFile::ReadLock::Suspension = std::unique_ptr< const BlockFile, ReadLocker >

Constructor & Destructor Documentation

BlockFile::ReadLock::ReadLock ( const BlockFile p,
const BlockFile::ReadUnlocker u 
)
inlineprivate
BlockFile::ReadLock::ReadLock ( ReadLock &&  that)
inline

Member Function Documentation

Suspension BlockFile::ReadLock::Suspend ( ) const
inline

Member Data Documentation

friend BlockFile::ReadLock::BlockFile
private

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