Bitcoin Core  27.99.0
P2P Digital Currency
Namespaces | Functions
interfaces.cpp File Reference
#include <interfaces/echo.h>
#include <interfaces/handler.h>
#include <boost/signals2/connection.hpp>
#include <memory>
#include <utility>
Include dependency graph for interfaces.cpp:

Go to the source code of this file.

Namespaces

 common
 
 interfaces
 

Functions

std::unique_ptr< Handler > interfaces::MakeCleanupHandler (std::function< void()> cleanup)
 Return handler wrapping a cleanup function. More...
 
std::unique_ptr< Handler > interfaces::MakeSignalHandler (boost::signals2::connection connection)
 Return handler wrapping a boost signal connection. More...
 
std::unique_ptr< Echo > interfaces::MakeEcho ()
 Return implementation of Echo interface. More...
 

Variable Documentation

◆ m_cleanup

std::function<void()> m_cleanup

Definition at line 20 of file interfaces.cpp.

◆ m_connection

boost::signals2::scoped_connection m_connection

Definition at line 30 of file interfaces.cpp.