Audacity  3.0.3
Public Types | Public Member Functions | List of all members
ClientData::Lockable< Object, RecursiveLocking > Struct Template Reference

Specialization for real locking with std::recursive_mutex. More...

#include <ClientDataHelpers.h>

Inheritance diagram for ClientData::Lockable< Object, RecursiveLocking >:
[legend]
Collaboration diagram for ClientData::Lockable< Object, RecursiveLocking >:
[legend]

Public Types

using Lock = std::unique_lock< std::recursive_mutex >
 

Public Member Functions

Lock lock () const
 

Detailed Description

template<typename Object>
struct ClientData::Lockable< Object, RecursiveLocking >

Specialization for real locking with std::recursive_mutex.

Definition at line 75 of file ClientDataHelpers.h.

Member Typedef Documentation

◆ Lock

template<typename Object >
using ClientData::Lockable< Object, RecursiveLocking >::Lock = std::unique_lock< std::recursive_mutex >

Definition at line 77 of file ClientDataHelpers.h.

Member Function Documentation

◆ lock()

template<typename Object >
Lock ClientData::Lockable< Object, RecursiveLocking >::lock ( ) const
inline

Definition at line 78 of file ClientDataHelpers.h.

78 { return Lock{ *this }; }

The documentation for this struct was generated from the following file:
ClientData::Lockable< Object, RecursiveLocking >::Lock
std::unique_lock< std::recursive_mutex > Lock
Definition: ClientDataHelpers.h:77