Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::signals2::connection Class Reference

#include <connection.hpp>

Inheritance diagram for boost::signals2::connection:
Collaboration diagram for boost::signals2::connection:

Public Member Functions

 connection ()
 
 connection (const connection &other)
 
 connection (const boost::weak_ptr< detail::connection_body_base > &connectionBody)
 
 connection (connection &&other)
 
connectionoperator= (connection &&other)
 
connectionoperator= (const connection &other)
 
 ~connection ()
 
void disconnect () const
 
bool connected () const
 
bool blocked () const
 
bool operator== (const connection &other) const
 
bool operator!= (const connection &other) const
 
bool operator< (const connection &other) const
 
void swap (connection &other)
 

Protected Attributes

boost::weak_ptr
< detail::connection_body_base
_weak_connection_body
 

Friends

class shared_connection_block
 

Constructor & Destructor Documentation

boost::signals2::connection::connection ( )
inline
boost::signals2::connection::connection ( const connection other)
inline
boost::signals2::connection::connection ( const boost::weak_ptr< detail::connection_body_base > &  connectionBody)
inline
boost::signals2::connection::connection ( connection &&  other)
inline
boost::signals2::connection::~connection ( )
inline

Member Function Documentation

bool boost::signals2::connection::blocked ( ) const
inline
bool boost::signals2::connection::connected ( ) const
inline
void boost::signals2::connection::disconnect ( ) const
inline
bool boost::signals2::connection::operator!= ( const connection other) const
inline
bool boost::signals2::connection::operator< ( const connection other) const
inline
connection& boost::signals2::connection::operator= ( connection &&  other)
inline
connection& boost::signals2::connection::operator= ( const connection other)
inline

References _weak_connection_body.

bool boost::signals2::connection::operator== ( const connection other) const
inline
void boost::signals2::connection::swap ( connection other)
inline

Friends And Related Function Documentation

friend class shared_connection_block
friend

Member Data Documentation


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