Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::shared_lockable_adapter< SharableLock > Class Template Reference

#include <lockable_adapter.hpp>

Inheritance diagram for boost::shared_lockable_adapter< SharableLock >:
Collaboration diagram for boost::shared_lockable_adapter< SharableLock >:

Public Types

typedef SharableLock mutex_type
 

Public Member Functions

void lock_shared () const
 
bool try_lock_shared () const
 
void unlock_shared () const
 
template<typename Clock , typename Duration >
bool try_lock_shared_until (chrono::time_point< Clock, Duration > const &abs_time) const
 
template<typename Rep , typename Period >
bool try_lock_shared_for (chrono::duration< Rep, Period > const &rel_time) const
 
bool try_lock_until (chrono::time_point< Clock, Duration > const &abs_time) const
 
bool try_lock_for (chrono::duration< Rep, Period > const &rel_time) const
 
bool try_lock () const
 
 BOOST_THREAD_NO_COPYABLE (basic_lockable_adapter) basic_lockable_adapter()
 
void lock () const
 
void unlock () const
 

Protected Member Functions

mutex_typelockable () const
 

Protected Attributes

mutex_type lockable_
 

Member Typedef Documentation

template<typename SharableLock>
typedef SharableLock boost::shared_lockable_adapter< SharableLock >::mutex_type

Member Function Documentation

boost::basic_lockable_adapter< SharableLock >::BOOST_THREAD_NO_COPYABLE ( basic_lockable_adapter< SharableLock >  )
inlineinherited
void boost::basic_lockable_adapter< SharableLock >::lock ( void  ) const
inlineinherited
template<typename SharableLock>
void boost::shared_lockable_adapter< SharableLock >::lock_shared ( ) const
inline
bool boost::lockable_adapter< SharableLock >::try_lock ( void  ) const
inlineinherited
bool boost::timed_lockable_adapter< SharableLock >::try_lock_for ( chrono::duration< Rep, Period > const &  rel_time) const
inlineinherited
template<typename SharableLock>
bool boost::shared_lockable_adapter< SharableLock >::try_lock_shared ( ) const
inline
template<typename SharableLock>
template<typename Rep , typename Period >
bool boost::shared_lockable_adapter< SharableLock >::try_lock_shared_for ( chrono::duration< Rep, Period > const &  rel_time) const
inline
template<typename SharableLock>
template<typename Clock , typename Duration >
bool boost::shared_lockable_adapter< SharableLock >::try_lock_shared_until ( chrono::time_point< Clock, Duration > const &  abs_time) const
inline
bool boost::timed_lockable_adapter< SharableLock >::try_lock_until ( chrono::time_point< Clock, Duration > const &  abs_time) const
inlineinherited
void boost::basic_lockable_adapter< SharableLock >::unlock ( void  ) const
inlineinherited
template<typename SharableLock>
void boost::shared_lockable_adapter< SharableLock >::unlock_shared ( ) const
inline

Member Data Documentation

mutex_type boost::basic_lockable_adapter< SharableLock >::lockable_
mutableprotectedinherited

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