| OpenCV 5.0.0alpha Open Source Computer Vision

Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Attributes | List of all members
cv::utils::shared_lock_guard< _Mutex > Class Template Reference

A shared scoped lock (RAII-style locking for shared/reader access). More...

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

Collaboration diagram for cv::utils::shared_lock_guard< _Mutex >:

## Public Types
typedef _Mutex | Mutex

## Public Member Functions
| shared_lock_guard (Mutex &m)
| ~shared_lock_guard ()
void | release ()

## Protected Attributes
Mutex * | mutex_

## Detailed Description

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

A shared scoped lock (RAII-style locking for shared/reader access).

Emulate boost::shared_lock_guard, subset of std::shared_lock (C++14),

## Member Typedef Documentation

## ◆ Mutex

template<class _Mutex >

_Mutex cv::utils::shared_lock_guard< _Mutex >::Mutex

## Constructor & Destructor Documentation

## ◆ shared_lock_guard()

template<class _Mutex >

cv::utils::shared_lock_guard< _Mutex >::shared_lock_guard | ( | Mutex & | m | ) |
| inline explicit

## ◆ ~shared_lock_guard()

template<class _Mutex >

cv::utils::shared_lock_guard< _Mutex >::~shared_lock_guard | ( |  | ) |
| inline

## Member Function Documentation

## ◆ release()

template<class _Mutex >

void cv::utils::shared_lock_guard< _Mutex >::release | ( |  | ) |
| inline

## Member Data Documentation

## ◆ mutex_

template<class _Mutex >

Mutex* cv::utils::shared_lock_guard< _Mutex >::mutex_
| protected

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

- opencv2/core/utils/lock.private.hpp