Public Member Functions | Private Attributes | List of all members
librealsense::sync_lock Class Reference

#include <sync.h>

Public Member Functions

 sync_lock (std::mutex &mutex)
 
void unlock_preemptively ()
 
 ~sync_lock ()
 

Private Attributes

bool _is_locked = true
 
std::mutex & _mutex
 

Detailed Description

Definition at line 19 of file sync.h.

Constructor & Destructor Documentation

librealsense::sync_lock::sync_lock ( std::mutex &  mutex)
inline

Definition at line 22 of file sync.h.

librealsense::sync_lock::~sync_lock ( )
inline

Definition at line 39 of file sync.h.

Member Function Documentation

void librealsense::sync_lock::unlock_preemptively ( )
inline

Definition at line 27 of file sync.h.

Member Data Documentation

bool librealsense::sync_lock::_is_locked = true
private

Definition at line 49 of file sync.h.

std::mutex& librealsense::sync_lock::_mutex
private

Definition at line 51 of file sync.h.


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


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:38