LibreOffice
LibreOffice 24.2 SDK C/C++ API Reference
|
Template for temporary releasable mutex objects and interfaces locks. More...
#include <mutex.hxx>
Public Member Functions | |
ResettableGuard (T *pT_) | |
Acquires the object specified as parameter. More... | |
ResettableGuard (T &rT) | |
Acquires the object specified as parameter. More... | |
void | reset () |
Re-acquires the mutex or interface. More... | |
Public Member Functions inherited from osl::ClearableGuard< T > | |
ClearableGuard (T *pT_) | |
Acquires the object specified as parameter. More... | |
ClearableGuard (T &t) | |
Acquires the object specified as parameter. More... | |
~ClearableGuard () | |
Releases the mutex or interface if not already released by clear(). More... | |
void | clear () |
Releases the mutex or interface. More... | |
Protected Attributes | |
T * | pResetT |
Protected Attributes inherited from osl::ClearableGuard< T > | |
T * | pT |
Template for temporary releasable mutex objects and interfaces locks.
Use this if you want to acquire a lock but need to temporary release it and can't use multiple scoped Guard objects.
|
inline |
Acquires the object specified as parameter.
|
inline |
Acquires the object specified as parameter.
|
inline |
Re-acquires the mutex or interface.
|
protected |