OpenCV  4.1.1-pre
Open Source Computer Vision
Looking for a C++ dev who knows OpenCV?
I'm looking for work. Hire me!
cv::utils::lock_guard< _Mutex > Class Template Reference

A simple scoped lock (RAII-style locking for exclusive/write access). More...

#include <opencv2/core/utils/lock.private.hpp>

Public Types

typedef _Mutex Mutex
 

Public Member Functions

 lock_guard (Mutex &m)
 
 ~lock_guard ()
 
void release ()
 

Detailed Description

template<class _Mutex>
class cv::utils::lock_guard< _Mutex >

A simple scoped lock (RAII-style locking for exclusive/write access).

Emulate std::lock_guard (C++11), partially std::unique_lock (C++11),

Member Typedef Documentation

◆ Mutex

template<class _Mutex >
typedef _Mutex cv::utils::lock_guard< _Mutex >::Mutex

Constructor & Destructor Documentation

◆ lock_guard()

template<class _Mutex >
cv::utils::lock_guard< _Mutex >::lock_guard ( Mutex m)
inlineexplicit

Referenced by cv::utils::lock_guard< _Mutex >::release().

Here is the caller graph for this function:

◆ ~lock_guard()

template<class _Mutex >
cv::utils::lock_guard< _Mutex >::~lock_guard ( )
inline

Member Function Documentation

◆ release()

template<class _Mutex >
void cv::utils::lock_guard< _Mutex >::release ( )
inline

References CV_DbgAssert, and cv::utils::lock_guard< _Mutex >::lock_guard().

Here is the call graph for this function:

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