amino::unique_lock< Mutex > Class Template Reference

#include <lock.h>

List of all members.

Public Types

typedef Mutex mutex_type

Public Member Functions

 unique_lock ()
 unique_lock (mutex_type &m, LOCK_TYPE t=COMMON_LOCK)
void lock ()
bool try_lock ()
void unlock ()
bool owns_lock ()
mutex_typemutex () const
virtual ~unique_lock ()

Friends

class condition_variable

template<class Mutex>
class amino::unique_lock< Mutex >


Member Typedef Documentation

template<class Mutex>
typedef Mutex amino::unique_lock< Mutex >::mutex_type


Constructor & Destructor Documentation

template<class Mutex>
amino::unique_lock< Mutex >::unique_lock (  )  [inline]

template<class Mutex>
amino::unique_lock< Mutex >::unique_lock ( mutex_type m,
LOCK_TYPE  t = COMMON_LOCK 
) [inline, explicit]

template<class Mutex>
virtual amino::unique_lock< Mutex >::~unique_lock (  )  [inline, virtual]


Member Function Documentation

template<class Mutex>
void amino::unique_lock< Mutex >::lock (  )  [inline]

template<class Mutex>
bool amino::unique_lock< Mutex >::try_lock (  )  [inline]

template<class Mutex>
void amino::unique_lock< Mutex >::unlock (  )  [inline]

template<class Mutex>
bool amino::unique_lock< Mutex >::owns_lock (  )  [inline]

template<class Mutex>
mutex_type* amino::unique_lock< Mutex >::mutex (  )  const [inline]


Friends And Related Function Documentation

template<class Mutex>
friend class condition_variable [friend]


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

Generated on Tue Dec 9 13:39:39 2008 for Amino by  doxygen 1.5.6