LibreOffice Module framework (master) 1
Public Member Functions | Protected Member Functions | List of all members
framework::IMutexGuard Class Referenceabstract

#include <undomanagerhelper.hxx>

Public Member Functions

virtual void clear ()=0
 clears the lock. More...
 
virtual IMutexgetGuardedMutex ()=0
 returns the mutex guarded by the instance. More...
 

Protected Member Functions

 ~IMutexGuard ()
 

Detailed Description

Definition at line 44 of file undomanagerhelper.hxx.

Constructor & Destructor Documentation

◆ ~IMutexGuard()

framework::IMutexGuard::~IMutexGuard ( )
inlineprotected

Definition at line 58 of file undomanagerhelper.hxx.

Member Function Documentation

◆ clear()

virtual void framework::IMutexGuard::clear ( )
pure virtual

clears the lock.

If the guard does not currently hold the lock, nothing happens.

Referenced by framework::UndoManagerHelper_Impl::impl_processRequest().

◆ getGuardedMutex()

virtual IMutex & framework::IMutexGuard::getGuardedMutex ( )
pure virtual

returns the mutex guarded by the instance.

Even if the guard currently has not a lock on the mutex, this method must succeed.

Referenced by framework::UndoManagerHelper_Impl::impl_doUndoRedo().


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