LibreOffice Module sd (master) 1
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
sd::ScopeLock Class Reference

#include <scopelock.hxx>

Public Member Functions

 ScopeLock ()
 
bool isLocked () const
 

Private Member Functions

void lock ()
 
void unlock ()
 

Private Attributes

sal_Int32 mnLock
 

Friends

class ScopeLockGuard
 

Detailed Description

Definition at line 27 of file scopelock.hxx.

Constructor & Destructor Documentation

◆ ScopeLock()

sd::ScopeLock::ScopeLock ( )
inline

Definition at line 31 of file scopelock.hxx.

Member Function Documentation

◆ isLocked()

bool sd::ScopeLock::isLocked ( ) const
inline

◆ lock()

void sd::ScopeLock::lock ( )
inlineprivate

Definition at line 34 of file scopelock.hxx.

References mnLock.

Referenced by sd::ScopeLockGuard::ScopeLockGuard().

◆ unlock()

void sd::ScopeLock::unlock ( )
inlineprivate

Definition at line 35 of file scopelock.hxx.

References mnLock.

Referenced by sd::ScopeLockGuard::~ScopeLockGuard().

Friends And Related Function Documentation

◆ ScopeLockGuard

friend class ScopeLockGuard
friend

Definition at line 29 of file scopelock.hxx.

Member Data Documentation

◆ mnLock

sal_Int32 sd::ScopeLock::mnLock
private

Definition at line 37 of file scopelock.hxx.

Referenced by isLocked(), lock(), and unlock().


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