LibreOffice Module comphelper (master) 1
Public Member Functions | Private Attributes | List of all members
comphelper::ORelease< MUTEX > Class Template Reference

opposite of OGuard :) (a mutex is released within the constructor and acquired within the destructor) use only when you're sure the mutex is acquired ! More...

#include <guarding.hxx>

Public Member Functions

 ORelease (MUTEX &_rMutex)
 
 ~ORelease ()
 

Private Attributes

MUTEX & m_rMutex
 

Detailed Description

template<class MUTEX>
class comphelper::ORelease< MUTEX >

opposite of OGuard :) (a mutex is released within the constructor and acquired within the destructor) use only when you're sure the mutex is acquired !

Definition at line 38 of file guarding.hxx.

Constructor & Destructor Documentation

◆ ORelease()

template<class MUTEX >
comphelper::ORelease< MUTEX >::ORelease ( MUTEX &  _rMutex)
inline

Definition at line 43 of file guarding.hxx.

◆ ~ORelease()

template<class MUTEX >
comphelper::ORelease< MUTEX >::~ORelease ( )
inline

Definition at line 44 of file guarding.hxx.

References comphelper::ORelease< MUTEX >::m_rMutex.

Member Data Documentation

◆ m_rMutex

template<class MUTEX >
MUTEX& comphelper::ORelease< MUTEX >::m_rMutex
private

Definition at line 40 of file guarding.hxx.

Referenced by comphelper::ORelease< MUTEX >::~ORelease().


The documentation for this class was generated from the following file: