|
sigx++
2.0.1
|
#include <lock_acquirer.h>
Public Member Functions | |
| writelock_acquirer (volatile_reference_type _a_value, mutex_type &_a_mutex) | |
| Constructs a lock_acquirer from a volatile type to lock and a lock. More... | |
| template<typename T_lockfwd_arg1 > | |
| writelock_acquirer (volatile_reference_type _a_value, mutex_type &_a_mutex, T_lockfwd_arg1 lockfwd_arg1) | |
| Constructs a lock_acquirer from a volatile type to protect, a lock and an additional argument forwarded to the lock constructor. More... | |
Public Member Functions inherited from sigx::lock_acquirer< writelock, T_type, T_mutex, T_islockable > | |
| lock_acquirer (volatile_reference_type _a_value, mutex_type &_a_mutex) | |
| Constructs a lock_acquirer from a volatile type to protect and a lock. More... | |
| lock_acquirer (volatile_reference_type _a_value, mutex_type &_a_mutex, T_lockfwd_arg1 lockfwd_arg1) | |
| Constructs a lock_acquirer from a volatile type to protect, a lock and an additional argument forwarded to the lock constructor. More... | |
Additional Inherited Members | |
Protected Types inherited from sigx::lock_acquirer< writelock, T_type, T_mutex, T_islockable > | |
| typedef T_type | acquired_type |
| typedef T_mutex | mutex_type |
| typedef std::tr1::remove_reference < acquired_type >::type | value_type |
| typedef boost::mpl::eval_if_c < I_policy==readlock, std::tr1::add_const < value_type > , boost::mpl::identity < value_type > >::type | const_or_value_type |
| typedef std::tr1::add_reference < typename std::tr1::add_volatile < value_type >::type >::type | volatile_reference_type |
| typedef std::tr1::add_reference < typename std::tr1::remove_volatile < const_or_value_type >::type > ::type | reference_type |
Protected Member Functions inherited from sigx::lock_acquirer< writelock, T_type, T_mutex, T_islockable > | |
| reference_type | access_acquiree () throw () |
Protected Attributes inherited from sigx::lock_acquirer< writelock, T_type, T_mutex, T_islockable > | |
| choose_lock< mutex_type, I_policy >::type | m_lock |
| lock manager appropriate for the lock type More... | |
| reference_type | m_acquiree |
| non-const reference to the locked object More... | |
|
inline |
Constructs a lock_acquirer from a volatile type to lock and a lock.
|
inline |
Constructs a lock_acquirer from a volatile type to protect, a lock and an additional argument forwarded to the lock constructor.
1.8.4