Realistic 3D camera system
3D camera system components
Public Types | Public Member Functions | List of all members
asio::detail::scoped_lock< Mutex > Class Template Reference

#include <scoped_lock.hpp>

Inheritance diagram for asio::detail::scoped_lock< Mutex >:
asio::detail::noncopyable

Public Types

enum  adopt_lock_t { adopt_lock }
 

Public Member Functions

 scoped_lock (Mutex &m, adopt_lock_t)
 
 scoped_lock (Mutex &m)
 
 ~scoped_lock ()
 
void lock ()
 
void unlock ()
 
bool locked () const
 
Mutex & mutex ()
 

Detailed Description

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

Definition at line 27 of file scoped_lock.hpp.

Member Enumeration Documentation

template<typename Mutex >
enum asio::detail::scoped_lock::adopt_lock_t
Enumerator
adopt_lock 

Definition at line 32 of file scoped_lock.hpp.

Constructor & Destructor Documentation

template<typename Mutex >
asio::detail::scoped_lock< Mutex >::scoped_lock ( Mutex &  m,
adopt_lock_t   
)
inline

Definition at line 35 of file scoped_lock.hpp.

template<typename Mutex >
asio::detail::scoped_lock< Mutex >::scoped_lock ( Mutex &  m)
inlineexplicit

Definition at line 42 of file scoped_lock.hpp.

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

Definition at line 50 of file scoped_lock.hpp.

Member Function Documentation

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

Definition at line 57 of file scoped_lock.hpp.

template<typename Mutex >
bool asio::detail::scoped_lock< Mutex >::locked ( ) const
inline

Definition at line 77 of file scoped_lock.hpp.

template<typename Mutex >
Mutex& asio::detail::scoped_lock< Mutex >::mutex ( )
inline

Definition at line 83 of file scoped_lock.hpp.

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

Definition at line 67 of file scoped_lock.hpp.


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