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

#include <externally_locked_stream.hpp>

Public Types

typedef
externally_locked_stream
< Stream, RecursiveMutex >
::mutex_type 
mutex_type
 

Public Member Functions

 stream_guard (externally_locked_stream< Stream, RecursiveMutex > &mtx)
 
 stream_guard (externally_locked_stream< Stream, RecursiveMutex > &mtx, adopt_lock_t)
 
 stream_guard (BOOST_THREAD_RV_REF(stream_guard) rhs) BOOST_NOEXCEPT
 
 ~stream_guard ()
 
bool owns_lock (const mutex_type *l) const BOOST_NOEXCEPT
 
Stream & get () const
 mtx_ More...
 
Stream & bypass () const
 

Friends

class externally_locked_stream< Stream, RecursiveMutex >
 

Member Typedef Documentation

template<class Stream, typename RecursiveMutex = recursive_mutex>
typedef externally_locked_stream<Stream, RecursiveMutex>::mutex_type boost::stream_guard< Stream, RecursiveMutex >::mutex_type

Constructor & Destructor Documentation

template<class Stream, typename RecursiveMutex = recursive_mutex>
boost::stream_guard< Stream, RecursiveMutex >::stream_guard ( externally_locked_stream< Stream, RecursiveMutex > &  mtx)
inline
template<class Stream, typename RecursiveMutex = recursive_mutex>
boost::stream_guard< Stream, RecursiveMutex >::stream_guard ( externally_locked_stream< Stream, RecursiveMutex > &  mtx,
adopt_lock_t   
)
inline
template<class Stream, typename RecursiveMutex = recursive_mutex>
boost::stream_guard< Stream, RecursiveMutex >::stream_guard ( BOOST_THREAD_RV_REF(stream_guard< Stream, RecursiveMutex >)  rhs)
inline
template<class Stream, typename RecursiveMutex = recursive_mutex>
boost::stream_guard< Stream, RecursiveMutex >::~stream_guard ( )
inline

Member Function Documentation

template<class Stream, typename RecursiveMutex = recursive_mutex>
Stream& boost::stream_guard< Stream, RecursiveMutex >::bypass ( ) const
inline
template<class Stream, typename RecursiveMutex = recursive_mutex>
Stream& boost::stream_guard< Stream, RecursiveMutex >::get ( ) const
inline
template<class Stream, typename RecursiveMutex = recursive_mutex>
bool boost::stream_guard< Stream, RecursiveMutex >::owns_lock ( const mutex_type l) const
inline

Friends And Related Function Documentation

template<class Stream, typename RecursiveMutex = recursive_mutex>
friend class externally_locked_stream< Stream, RecursiveMutex >
friend

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