sigx++ 2.0.1
Public Member Functions
sigx::writelock_acquirer< T_type, T_mutex, std::tr1::true_type > Class Template Reference

writelock_acquirer specialization for lockable's. More...

#include <lock_acquirer.h>

Inheritance diagram for sigx::writelock_acquirer< T_type, T_mutex, std::tr1::true_type >:
sigx::lock_acquirer< writelock, T_type, T_mutex, std::tr1::true_type > sigx::noncopyable sigx::nonpointeraliasing

Public Member Functions

 writelock_acquirer (lockable_type &_a_lockable)
 Constructs a lock_acquirer from a lockable.
template<typename T_lockfwd_arg1 >
 writelock_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::writelock_acquirer< T_type, T_mutex, std::tr1::true_type >

writelock_acquirer specialization for lockable's.


Constructor & Destructor Documentation

template<typename T_type , typename T_mutex >
sigx::writelock_acquirer< T_type, T_mutex, std::tr1::true_type >::writelock_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::writelock_acquirer< T_type, T_mutex, std::tr1::true_type >::writelock_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: