A helper class for mutex objects and interfaces. More...
#include <mutex.hxx>
Public Member Functions | |
| ClearableGuard (T *pT_) | |
| Acquires the object specified as parameter. | |
| ClearableGuard (T &t) | |
| Acquires the object specified as parameter. | |
| ~ClearableGuard () | |
| Releases the mutex or interface if not already released by clear(). | |
| void | clear () |
| Releases the mutex or interface. | |
Protected Attributes | |
| T * | pT |
A helper class for mutex objects and interfaces.
| osl::ClearableGuard< T >::ClearableGuard | ( | T * | pT_ | ) | [inline] |
Acquires the object specified as parameter.
| osl::ClearableGuard< T >::ClearableGuard | ( | T & | t | ) | [inline] |
Acquires the object specified as parameter.
| osl::ClearableGuard< T >::~ClearableGuard | ( | ) | [inline] |
Releases the mutex or interface if not already released by clear().
| void osl::ClearableGuard< T >::clear | ( | ) | [inline] |
Releases the mutex or interface.
T* osl::ClearableGuard< T >::pT [protected] |
1.6.1