Bitcoin Core 31.99.0
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
btcsignals::scoped_connection Class Reference

#include <btcsignals.h>

Collaboration diagram for btcsignals::scoped_connection:
[legend]

Public Member Functions

 scoped_connection (connection rhs) noexcept
 
 scoped_connection (scoped_connection &&) noexcept=default
 
scoped_connectionoperator= (scoped_connection &&) noexcept=default
 
scoped_connectionoperator= (const scoped_connection &)=delete
 For simplicity, disable copy assignment and construction. More...
 
 scoped_connection (const scoped_connection &)=delete
 
void disconnect ()
 
 ~scoped_connection ()
 

Private Attributes

connection m_conn
 

Detailed Description

Definition at line 118 of file btcsignals.h.

Constructor & Destructor Documentation

◆ scoped_connection() [1/3]

btcsignals::scoped_connection::scoped_connection ( connection  rhs)
inlinenoexcept

Definition at line 123 of file btcsignals.h.

◆ scoped_connection() [2/3]

btcsignals::scoped_connection::scoped_connection ( scoped_connection &&  )
defaultnoexcept

◆ scoped_connection() [3/3]

btcsignals::scoped_connection::scoped_connection ( const scoped_connection )
delete

◆ ~scoped_connection()

btcsignals::scoped_connection::~scoped_connection ( )
inline

Definition at line 139 of file btcsignals.h.

Here is the call graph for this function:

Member Function Documentation

◆ disconnect()

void btcsignals::scoped_connection::disconnect ( )
inline

Definition at line 134 of file btcsignals.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator=() [1/2]

scoped_connection & btcsignals::scoped_connection::operator= ( const scoped_connection )
delete

For simplicity, disable copy assignment and construction.

◆ operator=() [2/2]

scoped_connection & btcsignals::scoped_connection::operator= ( scoped_connection &&  )
defaultnoexcept

Member Data Documentation

◆ m_conn

connection btcsignals::scoped_connection::m_conn
private

Definition at line 120 of file btcsignals.h.


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