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

#include <poly_shared_lockable_adapter.hpp>

Inheritance diagram for boost::upgrade_lockable_adapter< UpgradableLock >:
Collaboration diagram for boost::upgrade_lockable_adapter< UpgradableLock >:

Public Types

typedef UpgradableLock mutex_type
 
typedef Mutex mutex_type
 

Public Member Functions

void lock_upgrade () const
 
bool try_lock_upgrade () const
 
void unlock_upgrade () const
 
template<typename Clock , typename Duration >
bool try_lock_upgrade_until (chrono::time_point< Clock, Duration > const &abs_time) const
 
template<typename Rep , typename Period >
bool try_lock_upgrade_for (chrono::duration< Rep, Period > const &rel_time) const
 
bool try_unlock_shared_and_lock () const
 
template<typename Clock , typename Duration >
bool try_unlock_shared_and_lock_until (chrono::time_point< Clock, Duration > const &abs_time) const
 
template<typename Rep , typename Period >
bool try_unlock_shared_and_lock_for (chrono::duration< Rep, Period > const &rel_time) const
 
void unlock_and_lock_shared () const
 
bool try_unlock_shared_and_lock_upgrade () const
 
template<typename Clock , typename Duration >
bool try_unlock_shared_and_lock_upgrade_until (chrono::time_point< Clock, Duration > const &abs_time) const
 
template<typename Rep , typename Period >
bool try_unlock_shared_and_lock_upgrade_for (chrono::duration< Rep, Period > const &rel_time) const
 
void unlock_and_lock_upgrade () const
 
void unlock_upgrade_and_lock () const
 
bool try_unlock_upgrade_and_lock () const
 
template<typename Clock , typename Duration >
bool try_unlock_upgrade_and_lock_until (chrono::time_point< Clock, Duration > const &abs_time) const
 
template<typename Rep , typename Period >
bool try_unlock_upgrade_and_lock_for (chrono::duration< Rep, Period > const &rel_time) const
 
void unlock_upgrade_and_lock_shared () const
 
void lock_upgrade ()
 
bool try_lock_upgrade ()
 
void unlock_upgrade ()
 
bool try_lock_upgrade_until (chrono::system_clock::time_point const &abs_time)
 
bool try_lock_upgrade_until (chrono::steady_clock::time_point const &abs_time)
 
bool try_lock_upgrade_for (chrono::nanoseconds const &rel_time)
 
bool try_unlock_shared_and_lock ()
 
bool try_unlock_shared_and_lock_until (chrono::system_clock::time_point const &abs_time)
 
bool try_unlock_shared_and_lock_until (chrono::steady_clock::time_point const &abs_time)
 
template<typename Rep , typename Period >
bool try_unlock_shared_and_lock_for (chrono::nanoseconds const &rel_time)
 
void unlock_and_lock_shared ()
 
bool try_unlock_shared_and_lock_upgrade ()
 
bool try_unlock_shared_and_lock_upgrade_until (chrono::system_clock::time_point const &abs_time)
 
bool try_unlock_shared_and_lock_upgrade_until (chrono::steady_clock::time_point const &abs_time)
 
bool try_unlock_shared_and_lock_upgrade_for (chrono::nanoseconds const &rel_time)
 
void unlock_and_lock_upgrade ()
 
void unlock_upgrade_and_lock ()
 
bool try_unlock_upgrade_and_lock ()
 
bool try_unlock_upgrade_and_lock_until (chrono::system_clock::time_point const &abs_time)
 
bool try_unlock_upgrade_and_lock_until (chrono::steady_clock::time_point const &abs_time)
 
bool try_unlock_upgrade_and_lock_for (chrono::nanoseconds const &rel_time)
 
void unlock_upgrade_and_lock_shared ()
 
void lock_shared () const
 
bool try_lock_shared () const
 
void unlock_shared () const
 
bool try_lock_shared_until (chrono::time_point< Clock, Duration > const &abs_time) const
 
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
 
void lock_shared () const
 
bool try_lock_shared () const
 
void unlock_shared () const
 
bool try_lock_shared_until (chrono::time_point< Clock, Duration > const &abs_time) const
 
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
 
mutex_typelockable () const
 

Protected Attributes

mutex_type lockable_
 
mutex_type lockable_
 

Member Typedef Documentation

template<typename UpgradableLock >
typedef Mutex boost::upgrade_lockable_adapter< UpgradableLock >::mutex_type
template<typename UpgradableLock >
typedef UpgradableLock boost::upgrade_lockable_adapter< UpgradableLock >::mutex_type

Member Function Documentation

boost::basic_lockable_adapter< Mutex >::BOOST_THREAD_NO_COPYABLE ( basic_lockable_adapter< Mutex >  )
inlineinherited
boost::basic_lockable_adapter< UpgradableLock >::BOOST_THREAD_NO_COPYABLE ( basic_lockable_adapter< UpgradableLock >  )
inlineinherited
void boost::basic_lockable_adapter< Mutex >::lock ( void  ) const
inlineinherited
void boost::basic_lockable_adapter< UpgradableLock >::lock ( void  ) const
inlineinherited
void boost::shared_lockable_adapter< Mutex >::lock_shared ( ) const
inlineinherited
void boost::shared_lockable_adapter< UpgradableLock >::lock_shared ( ) const
inlineinherited
template<typename UpgradableLock >
void boost::upgrade_lockable_adapter< UpgradableLock >::lock_upgrade ( )
inline
template<typename UpgradableLock >
void boost::upgrade_lockable_adapter< UpgradableLock >::lock_upgrade ( ) const
inline
mutex_type& boost::basic_lockable_adapter< Mutex >::lockable ( ) const
inlineprotectedinherited
mutex_type& boost::basic_lockable_adapter< UpgradableLock >::lockable ( ) const
inlineprotectedinherited
bool boost::lockable_adapter< Mutex >::try_lock ( void  ) const
inlineinherited
bool boost::lockable_adapter< UpgradableLock >::try_lock ( void  ) const
inlineinherited
bool boost::timed_lockable_adapter< Mutex >::try_lock_for ( chrono::duration< Rep, Period > const &  rel_time) const
inlineinherited
bool boost::timed_lockable_adapter< UpgradableLock >::try_lock_for ( chrono::duration< Rep, Period > const &  rel_time) const
inlineinherited
bool boost::shared_lockable_adapter< Mutex >::try_lock_shared ( ) const
inlineinherited
bool boost::shared_lockable_adapter< UpgradableLock >::try_lock_shared ( ) const
inlineinherited
bool boost::shared_lockable_adapter< Mutex >::try_lock_shared_for ( chrono::duration< Rep, Period > const &  rel_time) const
inlineinherited
bool boost::shared_lockable_adapter< UpgradableLock >::try_lock_shared_for ( chrono::duration< Rep, Period > const &  rel_time) const
inlineinherited
bool boost::shared_lockable_adapter< Mutex >::try_lock_shared_until ( chrono::time_point< Clock, Duration > const &  abs_time) const
inlineinherited
bool boost::shared_lockable_adapter< UpgradableLock >::try_lock_shared_until ( chrono::time_point< Clock, Duration > const &  abs_time) const
inlineinherited
bool boost::timed_lockable_adapter< UpgradableLock >::try_lock_until ( chrono::time_point< Clock, Duration > const &  abs_time) const
inlineinherited
bool boost::timed_lockable_adapter< Mutex >::try_lock_until ( chrono::time_point< Clock, Duration > const &  abs_time) const
inlineinherited
template<typename UpgradableLock >
bool boost::upgrade_lockable_adapter< UpgradableLock >::try_lock_upgrade ( )
inline
template<typename UpgradableLock >
bool boost::upgrade_lockable_adapter< UpgradableLock >::try_lock_upgrade ( ) const
inline
template<typename UpgradableLock >
bool boost::upgrade_lockable_adapter< UpgradableLock >::try_lock_upgrade_for ( chrono::nanoseconds const &  rel_time)
inline
template<typename UpgradableLock >
template<typename Rep , typename Period >
bool boost::upgrade_lockable_adapter< UpgradableLock >::try_lock_upgrade_for ( chrono::duration< Rep, Period > const &  rel_time) const
inline
template<typename UpgradableLock >
bool boost::upgrade_lockable_adapter< UpgradableLock >::try_lock_upgrade_until ( chrono::system_clock::time_point const &  abs_time)
inline
template<typename UpgradableLock >
bool boost::upgrade_lockable_adapter< UpgradableLock >::try_lock_upgrade_until ( chrono::steady_clock::time_point const &  abs_time)
inline
template<typename UpgradableLock >
template<typename Clock , typename Duration >
bool boost::upgrade_lockable_adapter< UpgradableLock >::try_lock_upgrade_until ( chrono::time_point< Clock, Duration > const &  abs_time) const
inline
template<typename UpgradableLock >
bool boost::upgrade_lockable_adapter< UpgradableLock >::try_unlock_shared_and_lock ( )
inline
template<typename UpgradableLock >
bool boost::upgrade_lockable_adapter< UpgradableLock >::try_unlock_shared_and_lock ( ) const
inline
template<typename UpgradableLock >
template<typename Rep , typename Period >
bool boost::upgrade_lockable_adapter< UpgradableLock >::try_unlock_shared_and_lock_for ( chrono::nanoseconds const &  rel_time)
inline
template<typename UpgradableLock >
template<typename Rep , typename Period >
bool boost::upgrade_lockable_adapter< UpgradableLock >::try_unlock_shared_and_lock_for ( chrono::duration< Rep, Period > const &  rel_time) const
inline
template<typename UpgradableLock >
bool boost::upgrade_lockable_adapter< UpgradableLock >::try_unlock_shared_and_lock_until ( chrono::system_clock::time_point const &  abs_time)
inline
template<typename UpgradableLock >
bool boost::upgrade_lockable_adapter< UpgradableLock >::try_unlock_shared_and_lock_until ( chrono::steady_clock::time_point const &  abs_time)
inline
template<typename UpgradableLock >
template<typename Clock , typename Duration >
bool boost::upgrade_lockable_adapter< UpgradableLock >::try_unlock_shared_and_lock_until ( chrono::time_point< Clock, Duration > const &  abs_time) const
inline
template<typename UpgradableLock >
bool boost::upgrade_lockable_adapter< UpgradableLock >::try_unlock_shared_and_lock_upgrade ( )
inline
template<typename UpgradableLock >
bool boost::upgrade_lockable_adapter< UpgradableLock >::try_unlock_shared_and_lock_upgrade ( ) const
inline
template<typename UpgradableLock >
bool boost::upgrade_lockable_adapter< UpgradableLock >::try_unlock_shared_and_lock_upgrade_for ( chrono::nanoseconds const &  rel_time)
inline
template<typename UpgradableLock >
template<typename Rep , typename Period >
bool boost::upgrade_lockable_adapter< UpgradableLock >::try_unlock_shared_and_lock_upgrade_for ( chrono::duration< Rep, Period > const &  rel_time) const
inline
template<typename UpgradableLock >
bool boost::upgrade_lockable_adapter< UpgradableLock >::try_unlock_shared_and_lock_upgrade_until ( chrono::system_clock::time_point const &  abs_time)
inline
template<typename UpgradableLock >
bool boost::upgrade_lockable_adapter< UpgradableLock >::try_unlock_shared_and_lock_upgrade_until ( chrono::steady_clock::time_point const &  abs_time)
inline
template<typename UpgradableLock >
template<typename Clock , typename Duration >
bool boost::upgrade_lockable_adapter< UpgradableLock >::try_unlock_shared_and_lock_upgrade_until ( chrono::time_point< Clock, Duration > const &  abs_time) const
inline
template<typename UpgradableLock >
bool boost::upgrade_lockable_adapter< UpgradableLock >::try_unlock_upgrade_and_lock ( )
inline
template<typename UpgradableLock >
bool boost::upgrade_lockable_adapter< UpgradableLock >::try_unlock_upgrade_and_lock ( ) const
inline
template<typename UpgradableLock >
bool boost::upgrade_lockable_adapter< UpgradableLock >::try_unlock_upgrade_and_lock_for ( chrono::nanoseconds const &  rel_time)
inline
template<typename UpgradableLock >
template<typename Rep , typename Period >
bool boost::upgrade_lockable_adapter< UpgradableLock >::try_unlock_upgrade_and_lock_for ( chrono::duration< Rep, Period > const &  rel_time) const
inline
template<typename UpgradableLock >
bool boost::upgrade_lockable_adapter< UpgradableLock >::try_unlock_upgrade_and_lock_until ( chrono::system_clock::time_point const &  abs_time)
inline
template<typename UpgradableLock >
bool boost::upgrade_lockable_adapter< UpgradableLock >::try_unlock_upgrade_and_lock_until ( chrono::steady_clock::time_point const &  abs_time)
inline
template<typename UpgradableLock >
template<typename Clock , typename Duration >
bool boost::upgrade_lockable_adapter< UpgradableLock >::try_unlock_upgrade_and_lock_until ( chrono::time_point< Clock, Duration > const &  abs_time) const
inline
void boost::basic_lockable_adapter< Mutex >::unlock ( void  ) const
inlineinherited
void boost::basic_lockable_adapter< UpgradableLock >::unlock ( void  ) const
inlineinherited
template<typename UpgradableLock >
void boost::upgrade_lockable_adapter< UpgradableLock >::unlock_and_lock_shared ( )
inline
template<typename UpgradableLock >
void boost::upgrade_lockable_adapter< UpgradableLock >::unlock_and_lock_shared ( ) const
inline
template<typename UpgradableLock >
void boost::upgrade_lockable_adapter< UpgradableLock >::unlock_and_lock_upgrade ( )
inline
template<typename UpgradableLock >
void boost::upgrade_lockable_adapter< UpgradableLock >::unlock_and_lock_upgrade ( ) const
inline
void boost::shared_lockable_adapter< Mutex >::unlock_shared ( ) const
inlineinherited
void boost::shared_lockable_adapter< UpgradableLock >::unlock_shared ( ) const
inlineinherited
template<typename UpgradableLock >
void boost::upgrade_lockable_adapter< UpgradableLock >::unlock_upgrade ( )
inline
template<typename UpgradableLock >
void boost::upgrade_lockable_adapter< UpgradableLock >::unlock_upgrade ( ) const
inline
template<typename UpgradableLock >
void boost::upgrade_lockable_adapter< UpgradableLock >::unlock_upgrade_and_lock ( )
inline
template<typename UpgradableLock >
void boost::upgrade_lockable_adapter< UpgradableLock >::unlock_upgrade_and_lock ( ) const
inline
template<typename UpgradableLock >
void boost::upgrade_lockable_adapter< UpgradableLock >::unlock_upgrade_and_lock_shared ( )
inline
template<typename UpgradableLock >
void boost::upgrade_lockable_adapter< UpgradableLock >::unlock_upgrade_and_lock_shared ( ) const
inline

Member Data Documentation

mutex_type boost::basic_lockable_adapter< Mutex >::lockable_
mutableprotectedinherited
mutex_type boost::basic_lockable_adapter< UpgradableLock >::lockable_
mutableprotectedinherited

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