LibreOffice
LibreOffice 24.2 SDK C/C++ API Reference
|
Object lifetime scoped mutex object or interface lock. More...
#include <mutex.hxx>
Public Member Functions | |
Guard (T *pT_) | |
Acquires the object specified as parameter. More... | |
Guard (T &t) | |
Acquires the object specified as parameter. More... | |
~Guard () | |
Releases the mutex or interface. More... | |
Protected Attributes | |
T * | pT |
Object lifetime scoped mutex object or interface lock.
Acquires the template object on construction and releases it on destruction.
|
inline |
Acquires the object specified as parameter.
|
inline |
Acquires the object specified as parameter.
|
inline |
Releases the mutex or interface.
|
protected |