LibreOffice
LibreOffice 5.3 SDK C/C++ API Reference
|
A helper class for mutex objects and interfaces. 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... | |
![]() | |
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 |
![]() | |
T * | pT |
A helper class for mutex objects and interfaces.
|
inline |
Acquires the object specified as parameter.
|
inline |
Acquires the object specified as parameter.
|
inline |
Re-acquires the mutex or interface.
|
protected |