sigx::readlock_acquirer< T_type, T_mutex, std::tr1::true_type > Class Template Reference
[Threadsafety]

readlock_acquirer specialization for lockable's. More...

#include <lock_acquirer.h>

Inheritance diagram for sigx::readlock_acquirer< T_type, T_mutex, std::tr1::true_type >:

sigx::lock_acquirer< readlock, T_type, T_mutex, std::tr1::true_type > sigx::noncopyable sigx::nonpointeraliasing

Public Member Functions

 readlock_acquirer (lockable_type &_a_lockable)
 Constructs a lock_acquirer from a lockable.
template<typename T_lockfwd_arg1 >
 readlock_acquirer (lockable_type &_a_lockable, 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.

Detailed Description

template<typename T_type, typename T_mutex>
class sigx::readlock_acquirer< T_type, T_mutex, std::tr1::true_type >

readlock_acquirer specialization for lockable's.

Constructor & Destructor Documentation

template<typename T_type , typename T_mutex >
sigx::readlock_acquirer< T_type, T_mutex, std::tr1::true_type >::readlock_acquirer ( lockable_type &  _a_lockable  )  [inline, explicit]

Constructs a lock_acquirer from a lockable.

Note:
Acquires the lock immediately, unlocks when it goes out of scope

template<typename T_type , typename T_mutex >
template<typename T_lockfwd_arg1 >
sigx::readlock_acquirer< T_type, T_mutex, std::tr1::true_type >::readlock_acquirer ( lockable_type &  _a_lockable,
T_lockfwd_arg1  lockfwd_arg1 
) [inline]

Constructs a lock_acquirer from a volatile type to protect, a lock and an additional argument forwarded to the lock constructor.

Note:
Acquires the lock immediately, unlocks when it goes out of scope


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

Generated on Sun May 17 15:47:34 2009 for sigx++ by  doxygen 1.5.9