libzmq  master
ZeroMQ C++ Core Engine (LIBZMQ)
zmq::scoped_lock_t Struct Reference

#include <mutex.hpp>

Collaboration diagram for zmq::scoped_lock_t:

Public Member Functions

 scoped_lock_t (mutex_t &mutex_)
 
 ~scoped_lock_t ()
 

Private Member Functions

 scoped_lock_t (const scoped_lock_t &)
 
const scoped_lock_toperator= (const scoped_lock_t &)
 

Private Attributes

mutex_tmutex
 

Detailed Description

Definition at line 164 of file mutex.hpp.

Constructor & Destructor Documentation

zmq::scoped_lock_t::scoped_lock_t ( mutex_t mutex_)
inline

Definition at line 166 of file mutex.hpp.

References zmq::mutex_t::mutex.

zmq::scoped_lock_t::~scoped_lock_t ( )
inline

Definition at line 172 of file mutex.hpp.

References zmq::mutex_t::mutex.

zmq::scoped_lock_t::scoped_lock_t ( const scoped_lock_t )
private

Member Function Documentation

const scoped_lock_t& zmq::scoped_lock_t::operator= ( const scoped_lock_t )
private

Member Data Documentation

mutex_t& zmq::scoped_lock_t::mutex
private

Definition at line 179 of file mutex.hpp.