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

#include <shareablemutex.hxx>

Collaboration diagram for framework::ShareGuard:
[legend]

Public Member Functions

 ShareGuard (ShareableMutex &rShareMutex)
 
 ~ShareGuard ()
 

Private Member Functions

ShareGuardoperator= (const ShareGuard &)=delete
 

Private Attributes

ShareableMutexm_rShareMutex
 

Detailed Description

Definition at line 68 of file shareablemutex.hxx.

Constructor & Destructor Documentation

◆ ShareGuard()

framework::ShareGuard::ShareGuard ( ShareableMutex rShareMutex)
inlineexplicit

Definition at line 71 of file shareablemutex.hxx.

References framework::ShareableMutex::acquire(), and m_rShareMutex.

◆ ~ShareGuard()

framework::ShareGuard::~ShareGuard ( )
inline

Definition at line 77 of file shareablemutex.hxx.

References m_rShareMutex, and framework::ShareableMutex::release().

Member Function Documentation

◆ operator=()

ShareGuard & framework::ShareGuard::operator= ( const ShareGuard )
privatedelete

Member Data Documentation

◆ m_rShareMutex

ShareableMutex& framework::ShareGuard::m_rShareMutex
private

Definition at line 85 of file shareablemutex.hxx.

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


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