ScopedLocker< T > Class Template Reference

#include <mutexwrapper.h>

Public Member Functions

 ScopedLocker (MutexWrapper< T > &mw_)
 and assignment
 ~ScopedLocker ()
T & Get ()

Private Member Functions

 ScopedLocker (const ScopedLocker< T > &)
ScopedLockeroperator= (const ScopedLocker &)
 prevent copying

Private Attributes

MutexWrapper< T > & mw

Detailed Description

template<class T>
class ScopedLocker< T >

Definition at line 17 of file mutexwrapper.h.


Constructor & Destructor Documentation

template<class T >
ScopedLocker< T >::ScopedLocker ( const ScopedLocker< T > &   )  [inline, private]

Definition at line 21 of file mutexwrapper.h.

template<class T >
ScopedLocker< T >::ScopedLocker ( MutexWrapper< T > &  mw_  )  [inline, explicit]

and assignment

Definition at line 24 of file mutexwrapper.h.

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

Definition at line 27 of file mutexwrapper.h.


Member Function Documentation

template<class T >
T& ScopedLocker< T >::Get (  )  [inline]

Definition at line 30 of file mutexwrapper.h.

template<class T >
ScopedLocker& ScopedLocker< T >::operator= ( const ScopedLocker< T > &   )  [inline, private]

prevent copying

Definition at line 22 of file mutexwrapper.h.


Field Documentation

template<class T >
MutexWrapper<T>& ScopedLocker< T >::mw [private]

Definition at line 20 of file mutexwrapper.h.


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

Generated on Thu Dec 29 00:11:48 2011 for SpringLobby by doxygen 1.6.3