sigx++  2.0.1
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
sigx::lockable_base< T_mutex > Struct Template Reference

The base for all lockables, template specialized for a specific lock, e.g. a boost::mutex. More...

#include <lockable.h>

Inheritance diagram for sigx::lockable_base< T_mutex >:
sigx::noncopyable sigx::safe_lockable< T_type, T_mutex > sigx::lockable< context_container_type, Glib::Mutex > sigx::lockable< Glib::Thread *, Glib::Mutex > sigx::lockable< T_type, Glib::Mutex > sigx::lockable< T_type, Glib::RecMutex > sigx::lockable< T_type, Glib::RWLock > sigx::lockable< T_type, Glib::StaticMutex > sigx::lockable< T_type, Glib::StaticRecMutex > sigx::lockable< T_type, T_mutex >

Public Types

typedef T_mutex mutex_type
 

Public Member Functions

mutex_typemutex () const throw ()
 

Protected Member Functions

 lockable_base ()
 
- Protected Member Functions inherited from sigx::noncopyable
 noncopyable ()
 
 ~noncopyable ()
 

Protected Attributes

mutex_type m_mutex
 

Detailed Description

template<typename T_mutex>
struct sigx::lockable_base< T_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.

Member Typedef Documentation

template<typename T_mutex >
typedef T_mutex sigx::lockable_base< T_mutex >::mutex_type

Constructor & Destructor Documentation

template<typename T_mutex >
sigx::lockable_base< T_mutex >::lockable_base ( )
inlineprotected

Member Function Documentation

template<typename T_mutex >
mutex_type& sigx::lockable_base< T_mutex >::mutex ( ) const
throw (
)
inline

Field Documentation

template<typename T_mutex >
mutex_type sigx::lockable_base< T_mutex >::m_mutex
mutableprotected

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