veriblock-pop-cpp
C++11 Libraries for leveraging VeriBlock Proof-Of-Proof blockchain technology.
altintegration::signals::Connection Struct Reference

lifetime of connection MUST always be less than of corresponding Signal More...

Detailed Description

Definition at line 20 of file signals.hpp.

#include <signals.hpp>

+ Collaboration diagram for altintegration::signals::Connection:

Public Member Functions

 Connection (std::function< void()> unsubscribe)
 

Constructor & Destructor Documentation

◆ Connection()

altintegration::signals::Connection::Connection ( std::function< void()>  unsubscribe)
inline

Definition at line 21 of file signals.hpp.

22 : unsub_(std::move(unsubscribe)) {}

◆ ~Connection()

altintegration::signals::Connection::~Connection ( )
inline

Definition at line 24 of file signals.hpp.

24{ unsub_(); }

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