|
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 () | |
Protected Member Functions inherited from sigx::noncopyable | |
| 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 | |||||||||||||
References sigx::lockable_base< T_mutex >::m_mutex.
|
mutableprotected |
Referenced by sigx::lockable_base< T_mutex >::mutex(), sigx::static_mutex_lockable< T_type >::static_mutex_lockable(), and sigx::static_recmutex_lockable< T_type >::static_recmutex_lockable().
1.8.4