osl::ResettableGuard< T > Class Template Reference

A helper class for mutex objects and interfaces. More...

#include <mutex.hxx>

Inheritance diagram for osl::ResettableGuard< T >:
osl::ClearableGuard< T >

List of all members.

Public Member Functions

 ResettableGuard (T *pT_)
 Acquires the object specified as parameter.
 ResettableGuard (T &rT)
 Acquires the object specified as parameter.
void reset ()
 Re-aquires the mutex or interface.

Protected Attributes

T * pResetT

Detailed Description

template<class T>
class osl::ResettableGuard< T >

A helper class for mutex objects and interfaces.


Constructor & Destructor Documentation

template<class T >
osl::ResettableGuard< T >::ResettableGuard ( T *  pT_  )  [inline]

Acquires the object specified as parameter.

template<class T >
osl::ResettableGuard< T >::ResettableGuard ( T &  rT  )  [inline]

Acquires the object specified as parameter.


Member Function Documentation

template<class T >
void osl::ResettableGuard< T >::reset (  )  [inline]

Re-aquires the mutex or interface.


Member Data Documentation

template<class T >
T* osl::ResettableGuard< T >::pResetT [protected]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 24 Nov 2013 by  doxygen 1.6.1