LLDB mainline
lldb_private::LockingAdaptedIterable< MutexType, C, IteratorT > Class Template Reference

#include <Iterable.h>

Inheritance diagram for lldb_private::LockingAdaptedIterable< MutexType, C, IteratorT >:
[legend]

Public Member Functions

 LockingAdaptedIterable (const C &container, MutexType &mutex)
 LockingAdaptedIterable (const C &container, std::unique_lock< MutexType > &&lock)
 Takes ownership of an already-held lock.
 LockingAdaptedIterable (LockingAdaptedIterable &&rhs)=default

Private Member Functions

 LockingAdaptedIterable (const LockingAdaptedIterable &)=delete
LockingAdaptedIterable & operator= (const LockingAdaptedIterable &)=delete

Detailed Description

template<typename MutexType, typename C, typename IteratorT = typename C::const_iterator>
class lldb_private::LockingAdaptedIterable< MutexType, C, IteratorT >

Definition at line 38 of file Iterable.h.

Constructor & Destructor Documentation

◆ LockingAdaptedIterable() [1/4]

template<typename MutexType, typename C, typename IteratorT = typename C::const_iterator>
lldb_private::LockingAdaptedIterable< MutexType, C, IteratorT >::LockingAdaptedIterable ( const C & container,
MutexType & mutex )
inline

Definition at line 43 of file Iterable.h.

◆ LockingAdaptedIterable() [2/4]

template<typename MutexType, typename C, typename IteratorT = typename C::const_iterator>
lldb_private::LockingAdaptedIterable< MutexType, C, IteratorT >::LockingAdaptedIterable ( const C & container,
std::unique_lock< MutexType > && lock )
inline

Takes ownership of an already-held lock.

Definition at line 48 of file Iterable.h.

◆ LockingAdaptedIterable() [3/4]

template<typename MutexType, typename C, typename IteratorT = typename C::const_iterator>
lldb_private::LockingAdaptedIterable< MutexType, C, IteratorT >::LockingAdaptedIterable ( LockingAdaptedIterable< MutexType, C, IteratorT > && rhs)
default

◆ LockingAdaptedIterable() [4/4]

template<typename MutexType, typename C, typename IteratorT = typename C::const_iterator>
lldb_private::LockingAdaptedIterable< MutexType, C, IteratorT >::LockingAdaptedIterable ( const LockingAdaptedIterable< MutexType, C, IteratorT > & )
privatedelete

Member Function Documentation

◆ operator=()

template<typename MutexType, typename C, typename IteratorT = typename C::const_iterator>
LockingAdaptedIterable & lldb_private::LockingAdaptedIterable< MutexType, C, IteratorT >::operator= ( const LockingAdaptedIterable< MutexType, C, IteratorT > & )
privatedelete

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