libmoost
|
locks a token mutex with a given token More...
#include <token_mutex.hpp>
Public Member Functions | |
scoped_try_lock (token_mutex< T > &token_mutex, const T &token) | |
operator bool () const | |
bool | operator! () const |
~scoped_try_lock () | |
Private Attributes | |
token_mutex< T > & | m_token_mutex |
T | m_token |
bool | m_got_lock |
locks a token mutex with a given token
Definition at line 81 of file token_mutex.hpp.
moost::thread::token_mutex< T >::scoped_try_lock::scoped_try_lock | ( | token_mutex< T > & | token_mutex, |
const T & | token | ||
) | [inline] |
Definition at line 88 of file token_mutex.hpp.
moost::thread::token_mutex< T >::scoped_try_lock::~scoped_try_lock | ( | ) | [inline] |
Definition at line 97 of file token_mutex.hpp.
moost::thread::token_mutex< T >::scoped_try_lock::operator bool | ( | ) | const [inline] |
Definition at line 95 of file token_mutex.hpp.
bool moost::thread::token_mutex< T >::scoped_try_lock::operator! | ( | ) | const [inline] |
Definition at line 96 of file token_mutex.hpp.
bool moost::thread::token_mutex< T >::scoped_try_lock::m_got_lock [private] |
Definition at line 86 of file token_mutex.hpp.
T moost::thread::token_mutex< T >::scoped_try_lock::m_token [private] |
Definition at line 85 of file token_mutex.hpp.
token_mutex<T>& moost::thread::token_mutex< T >::scoped_try_lock::m_token_mutex [private] |
Definition at line 84 of file token_mutex.hpp.