GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
grem::ScopedLock< MutexType > Class Template Reference

#include <GREM/core/system/synchronization.hpp>

Public Types

using mutex_type = MutexType

Public Member Functions

GREM_ALWAYS_INLINE ScopedLock (mutex_type &mutex)
GREM_ALWAYS_INLINE ScopedLock (AdoptLock, mutex_type &mutex)
GREM_ALWAYS_INLINE ~ScopedLock ()
 ScopedLock (const ScopedLock &)=delete
ScopedLock & operator= (const ScopedLock &)=delete

Member Typedef Documentation

◆ mutex_type

template<typename MutexType>
using grem::ScopedLock< MutexType >::mutex_type = MutexType

Constructor & Destructor Documentation

◆ ScopedLock() [1/3]

template<typename MutexType>
GREM_ALWAYS_INLINE grem::ScopedLock< MutexType >::ScopedLock ( mutex_type & mutex)
inlineexplicit

◆ ScopedLock() [2/3]

template<typename MutexType>
GREM_ALWAYS_INLINE grem::ScopedLock< MutexType >::ScopedLock ( AdoptLock ,
mutex_type & mutex )
inline

◆ ~ScopedLock()

template<typename MutexType>
GREM_ALWAYS_INLINE grem::ScopedLock< MutexType >::~ScopedLock ( )
inline

◆ ScopedLock() [3/3]

template<typename MutexType>
grem::ScopedLock< MutexType >::ScopedLock ( const ScopedLock< MutexType > & )
delete

Member Function Documentation

◆ operator=()

template<typename MutexType>
ScopedLock & grem::ScopedLock< MutexType >::operator= ( const ScopedLock< MutexType > & )
delete

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