Public Member Functions | Private Member Functions | Private Attributes | List of all members
FScopedTryLock Class Reference

#include <Shared.h>

Public Member Functions

 FScopedTryLock ()
 
bool IsLocked () const
 
bool TryLock (FCriticalSection *Mutex)
 
void Unlock ()
 
 ~FScopedTryLock ()
 

Private Member Functions

 FScopedTryLock (const FScopedTryLock &)
 
void operator= (const FScopedTryLock &)
 

Private Attributes

FCriticalSection * _Mutex = nullptr
 

Detailed Description

Definition at line 51 of file Shared.h.

Constructor & Destructor Documentation

FScopedTryLock::FScopedTryLock ( )
inline

Definition at line 54 of file Shared.h.

FScopedTryLock::~FScopedTryLock ( )
inline

Definition at line 55 of file Shared.h.

FScopedTryLock::FScopedTryLock ( const FScopedTryLock )
private

Member Function Documentation

bool FScopedTryLock::IsLocked ( ) const
inline

Definition at line 58 of file Shared.h.

void FScopedTryLock::operator= ( const FScopedTryLock )
private
bool FScopedTryLock::TryLock ( FCriticalSection *  Mutex)
inline

Definition at line 56 of file Shared.h.

void FScopedTryLock::Unlock ( )
inline

Definition at line 57 of file Shared.h.

Member Data Documentation

FCriticalSection* FScopedTryLock::_Mutex = nullptr
private

Definition at line 62 of file Shared.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:32