LibreOffice
LibreOffice 24.2 SDK C/C++ API Reference
|
Object lifetime scoped mutex object or interface lock with unlock. More...
#include <mutex.hxx>
Public Member Functions | |
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 * | pT |
Object lifetime scoped mutex object or interface lock with unlock.
Use this if you can't use scoped code blocks and Guard.
|
inline |
Acquires the object specified as parameter.
|
inline |
Acquires the object specified as parameter.
|
inline |
Releases the mutex or interface if not already released by clear().
|
inline |
Releases the mutex or interface.
|
protected |