Audacity  2.2.2
Public Member Functions | Public Attributes | List of all members
WaveTrack::Locker Struct Reference

#include <WaveTrack.h>

Inheritance diagram for WaveTrack::Locker:

Public Member Functions

 Locker (const WaveTrack *pTrack)
 
 Locker (Locker &&that)
 
Lockeroperator= (Locker &&that)
 

Public Attributes

friend LockerBase
 

Detailed Description

Definition at line 325 of file WaveTrack.h.

Constructor & Destructor Documentation

WaveTrack::Locker::Locker ( const WaveTrack pTrack)
inline

Definition at line 328 of file WaveTrack.h.

329  : LockerBase{ pTrack }
330  { pTrack->Lock(); }
bool Lock() const
Definition: WaveTrack.cpp:1818
WaveTrack::Locker::Locker ( Locker &&  that)
inline

Definition at line 331 of file WaveTrack.h.

331 : LockerBase{std::move(that)} {}

Member Function Documentation

Locker& WaveTrack::Locker::operator= ( Locker &&  that)
inline

Definition at line 332 of file WaveTrack.h.

332  {
333  (LockerBase&)(*this) = std::move(that);
334  return *this;
335  }

Member Data Documentation

friend WaveTrack::Locker::LockerBase

Definition at line 327 of file WaveTrack.h.


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