LibreOffice Module vcl (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
vcl::SolarMutexTryAndBuyGuard Class Reference

guard class that uses tryToAcquire() and has isAcquired() to check More...

#include <svapp.hxx>

Collaboration diagram for vcl::SolarMutexTryAndBuyGuard:
[legend]

Public Member Functions

 SolarMutexTryAndBuyGuard ()
 
 ~SolarMutexTryAndBuyGuard ()
 
bool isAcquired ()
 

Private Member Functions

 SolarMutexTryAndBuyGuard (const SolarMutexTryAndBuyGuard &)=delete
 
SolarMutexTryAndBuyGuardoperator= (const SolarMutexTryAndBuyGuard &)=delete
 

Private Attributes

bool m_isAcquired
 
bool m_isChecked
 
comphelper::SolarMutexm_rSolarMutex
 

Detailed Description

guard class that uses tryToAcquire() and has isAcquired() to check

Definition at line 1364 of file svapp.hxx.

Constructor & Destructor Documentation

◆ SolarMutexTryAndBuyGuard() [1/2]

vcl::SolarMutexTryAndBuyGuard::SolarMutexTryAndBuyGuard ( const SolarMutexTryAndBuyGuard )
privatedelete

◆ SolarMutexTryAndBuyGuard() [2/2]

vcl::SolarMutexTryAndBuyGuard::SolarMutexTryAndBuyGuard ( )
inline

Definition at line 1378 of file svapp.hxx.

References m_isAcquired, m_rSolarMutex, and comphelper::SolarMutex::tryToAcquire().

◆ ~SolarMutexTryAndBuyGuard()

vcl::SolarMutexTryAndBuyGuard::~SolarMutexTryAndBuyGuard ( )
inline

Member Function Documentation

◆ isAcquired()

bool vcl::SolarMutexTryAndBuyGuard::isAcquired ( )
inline

Definition at line 1398 of file svapp.hxx.

References m_isAcquired, and m_isChecked.

Referenced by VCLExceptionSignal_impl().

◆ operator=()

SolarMutexTryAndBuyGuard & vcl::SolarMutexTryAndBuyGuard::operator= ( const SolarMutexTryAndBuyGuard )
privatedelete

Member Data Documentation

◆ m_isAcquired

bool vcl::SolarMutexTryAndBuyGuard::m_isAcquired
private

Definition at line 1367 of file svapp.hxx.

Referenced by isAcquired(), SolarMutexTryAndBuyGuard(), and ~SolarMutexTryAndBuyGuard().

◆ m_isChecked

bool vcl::SolarMutexTryAndBuyGuard::m_isChecked
private

Definition at line 1369 of file svapp.hxx.

Referenced by isAcquired(), and ~SolarMutexTryAndBuyGuard().

◆ m_rSolarMutex

comphelper::SolarMutex& vcl::SolarMutexTryAndBuyGuard::m_rSolarMutex
private

Definition at line 1371 of file svapp.hxx.

Referenced by SolarMutexTryAndBuyGuard(), and ~SolarMutexTryAndBuyGuard().


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