osl::Guard< T > Class Template Reference

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

#include <mutex.hxx>

List of all members.

Public Member Functions

 Guard (T *pT_)
 Acquires the object specified as parameter.
 Guard (T &t)
 Acquires the object specified as parameter.
 ~Guard ()
 Releases the mutex or interface.

Protected Attributes

T * pT

Detailed Description

template<class T>
class osl::Guard< T >

A helper class for mutex objects and interfaces.


Constructor & Destructor Documentation

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

Acquires the object specified as parameter.

template<class T >
osl::Guard< T >::Guard ( T &  t  )  [inline]

Acquires the object specified as parameter.

template<class T >
osl::Guard< T >::~Guard (  )  [inline]

Releases the mutex or interface.


Member Data Documentation

template<class T >
T* osl::Guard< T >::pT [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 25 Nov 2013 by  doxygen 1.6.1