Sese Framework  2.3.0
A cross-platform framework
Loading...
Searching...
No Matches
sese::Locker< T > Class Template Reference

std::mutex wrapper More...

#include <Locker.h>

Public Member Functions

 Locker (T &t)
 
 ~Locker ()
 

Private Attributes

T & mutex
 

Detailed Description

template<typename T = std::mutex>
class sese::Locker< T >

std::mutex wrapper

Template Parameters
Tstd::mutex

Constructor & Destructor Documentation

◆ Locker()

template<typename T = std::mutex>
sese::Locker< T >::Locker ( T & t)
inlineexplicit

◆ ~Locker()

template<typename T = std::mutex>
sese::Locker< T >::~Locker ( )
inline

Member Data Documentation

◆ mutex

template<typename T = std::mutex>
T& sese::Locker< T >::mutex
private

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