Monero
Public Member Functions | Private Member Functions | Private Attributes | List of all members
el::base::threading::internal::ScopedLock< M > Class Template Reference

Scoped lock for compiler that dont yet support std::lock_guard. More...

#include <easylogging++.h>

Inheritance diagram for el::base::threading::internal::ScopedLock< M >:
Inheritance graph
[legend]
Collaboration diagram for el::base::threading::internal::ScopedLock< M >:
Collaboration graph
[legend]

Public Member Functions

 ScopedLock (M &mutex)
 
virtual ~ScopedLock (void)
 

Private Member Functions

 ScopedLock (void)
 
- Private Member Functions inherited from el::base::NoCopy
 NoCopy (void)
 

Private Attributes

Mm_mutex
 

Detailed Description

template<typename M>
class el::base::threading::internal::ScopedLock< M >

Scoped lock for compiler that dont yet support std::lock_guard.

Constructor & Destructor Documentation

◆ ScopedLock() [1/2]

template<typename M>
el::base::threading::internal::ScopedLock< M >::ScopedLock ( M mutex)
inlineexplicit

◆ ~ScopedLock()

template<typename M>
virtual el::base::threading::internal::ScopedLock< M >::~ScopedLock ( void  )
inlinevirtual

◆ ScopedLock() [2/2]

template<typename M>
el::base::threading::internal::ScopedLock< M >::ScopedLock ( void  )
private

Member Data Documentation

◆ m_mutex

template<typename M>
M* el::base::threading::internal::ScopedLock< M >::m_mutex
private

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