asio::detail::scoped_lock< Mutex > Class Template Reference

#include <scoped_lock.hpp>

Inherits boost::noncopyable.

List of all members.

Public Member Functions

 scoped_lock (Mutex &m)
 ~scoped_lock ()
void lock ()
void unlock ()

Private Attributes

Mutex & mutex_
bool locked_


Detailed Description

template<typename Mutex>
class asio::detail::scoped_lock< Mutex >

Definition at line 27 of file scoped_lock.hpp.


Constructor & Destructor Documentation

template<typename Mutex>
asio::detail::scoped_lock< Mutex >::scoped_lock ( Mutex &  m  )  [inline]

template<typename Mutex>
asio::detail::scoped_lock< Mutex >::~scoped_lock (  )  [inline]


Member Function Documentation

template<typename Mutex>
void asio::detail::scoped_lock< Mutex >::lock (  )  [inline]

template<typename Mutex>
void asio::detail::scoped_lock< Mutex >::unlock (  )  [inline]


Member Data Documentation

template<typename Mutex>
Mutex& asio::detail::scoped_lock< Mutex >::mutex_ [private]

template<typename Mutex>
bool asio::detail::scoped_lock< Mutex >::locked_ [private]


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

Generated on Sun May 25 00:21:32 2008 by  doxygen 1.5.6