LibreOffice Module comphelper (master) 1
|
sometimes, it's necessary to have an initialized ::osl::Mutex to pass to some ctor call of your base class. More...
#include <sharedmutex.hxx>
Protected Member Functions | |
SharedMutexBase () | |
~SharedMutexBase () | |
::osl::Mutex & | getMutex () const |
SharedMutex & | getSharedMutex () const |
Private Attributes | |
SharedMutex | m_aMutex |
sometimes, it's necessary to have an initialized ::osl::Mutex to pass to some ctor call of your base class.
In this case, you can't hold the SharedMutex as member, but you need to move it into another base class, which is initialized before the mutex-requiring class is.
Definition at line 53 of file sharedmutex.hxx.
|
inlineprotected |
Definition at line 56 of file sharedmutex.hxx.
|
inlineprotected |
Definition at line 59 of file sharedmutex.hxx.
|
inlineprotected |
Definition at line 64 of file sharedmutex.hxx.
References m_aMutex.
|
inlineprotected |
Definition at line 65 of file sharedmutex.hxx.
References m_aMutex.
|
mutableprivate |
Definition at line 68 of file sharedmutex.hxx.