sigx++
2.0.1
|
The base for all lockables, template specialized for a specific lock, e.g. a boost::mutex. More...
#include <lockable.h>
Public Types | |
typedef T_mutex | mutex_type |
Public Member Functions | |
mutex_type & | mutex () const throw () |
Protected Member Functions | |
lockable_base () | |
![]() | |
noncopyable () | |
~noncopyable () |
Protected Attributes | |
mutex_type | m_mutex |
The base for all lockables, template specialized for a specific lock, e.g. a boost::mutex.
Lockables are wrapper objects pairing a certain type together with a mutex type. Mutex objects of type T_mutex must be default constructible.
typedef T_mutex sigx::lockable_base< T_mutex >::mutex_type |
|
inlineprotected |
|
inline |
|
mutableprotected |
Referenced by sigx::lockable_base< Glib::RWLock >::mutex().