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

#include <poly_lockable_adapter.hpp>

Inheritance diagram for boost::poly_timed_lockable_adapter< Mutex, Base >:
Collaboration diagram for boost::poly_timed_lockable_adapter< Mutex, Base >:

Public Types

typedef Mutex mutex_type
 

Public Member Functions

bool try_lock_until (chrono::system_clock::time_point const &abs_time)
 
bool try_lock_until (chrono::steady_clock::time_point const &abs_time)
 
bool try_lock_for (chrono::nanoseconds const &rel_time)
 
bool try_lock ()
 
 BOOST_THREAD_NO_COPYABLE (poly_basic_lockable_adapter) poly_basic_lockable_adapter()
 
void lock ()
 
void unlock ()
 

Protected Member Functions

mutex_typemtx () const
 

Protected Attributes

mutex_type mtx_
 

Member Typedef Documentation

template<typename Mutex , typename Base = poly_timed_lockable>
typedef Mutex boost::poly_timed_lockable_adapter< Mutex, Base >::mutex_type

Member Function Documentation

template<typename Mutex , typename Base = poly_basic_lockable>
boost::poly_basic_lockable_adapter< Mutex, Base >::BOOST_THREAD_NO_COPYABLE ( poly_basic_lockable_adapter< Mutex, Base >  )
inlineinherited
template<typename Mutex , typename Base = poly_basic_lockable>
void boost::poly_basic_lockable_adapter< Mutex, Base >::lock ( void  )
inlineinherited
template<typename Mutex , typename Base = poly_lockable>
bool boost::poly_lockable_adapter< Mutex, Base >::try_lock ( void  )
inlineinherited
template<typename Mutex , typename Base = poly_timed_lockable>
bool boost::poly_timed_lockable_adapter< Mutex, Base >::try_lock_for ( chrono::nanoseconds const &  rel_time)
inline
template<typename Mutex , typename Base = poly_timed_lockable>
bool boost::poly_timed_lockable_adapter< Mutex, Base >::try_lock_until ( chrono::system_clock::time_point const &  abs_time)
inline
template<typename Mutex , typename Base = poly_timed_lockable>
bool boost::poly_timed_lockable_adapter< Mutex, Base >::try_lock_until ( chrono::steady_clock::time_point const &  abs_time)
inline
template<typename Mutex , typename Base = poly_basic_lockable>
void boost::poly_basic_lockable_adapter< Mutex, Base >::unlock ( void  )
inlineinherited

Member Data Documentation

template<typename Mutex , typename Base = poly_basic_lockable>
mutex_type boost::poly_basic_lockable_adapter< Mutex, Base >::mtx_
mutableprotectedinherited

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