Wrapper around std::unique_lock style lock for MutexType.
More...
#include <sync.h>
|
| using | Base = typename MutexType::unique_lock |
| |
|
| void | Enter (const char *pszName, const char *pszFile, int nLine) |
| |
| bool | TryEnter (const char *pszName, const char *pszFile, int nLine) |
| |
template<typename MutexType>
class UniqueLock< MutexType >
Wrapper around std::unique_lock style lock for MutexType.
Definition at line 152 of file sync.h.
◆ Base
template<typename MutexType>
◆ UniqueLock() [1/3]
template<typename MutexType>
| UniqueLock< MutexType >::UniqueLock |
( |
MutexType & |
mutexIn, |
|
|
const char * |
pszName, |
|
|
const char * |
pszFile, |
|
|
int |
nLine, |
|
|
bool |
fTry = false |
|
) |
| |
|
inline |
◆ UniqueLock() [2/3]
template<typename MutexType>
| UniqueLock< MutexType >::UniqueLock |
( |
MutexType * |
pmutexIn, |
|
|
const char * |
pszName, |
|
|
const char * |
pszFile, |
|
|
int |
nLine, |
|
|
bool |
fTry = false |
|
) |
| |
|
inline |
◆ ~UniqueLock()
template<typename MutexType>
◆ UniqueLock() [3/3]
template<typename MutexType>
◆ Enter()
template<typename MutexType>
| void UniqueLock< MutexType >::Enter |
( |
const char * |
pszName, |
|
|
const char * |
pszFile, |
|
|
int |
nLine |
|
) |
| |
|
inlineprivate |
◆ operator bool()
template<typename MutexType>
◆ TryEnter()
template<typename MutexType>
| bool UniqueLock< MutexType >::TryEnter |
( |
const char * |
pszName, |
|
|
const char * |
pszFile, |
|
|
int |
nLine |
|
) |
| |
|
inlineprivate |
◆ reverse_lock
template<typename MutexType>
The documentation for this class was generated from the following file: