5#ifndef BITCOIN_INTERFACES_HANDLER_H
6#define BITCOIN_INTERFACES_HANDLER_H
34std::unique_ptr<Handler>
MakeHandler(std::function<
void()> cleanup);
Generic interface for managing an event handler or callback function registered with another interfac...
virtual void disconnect()=0
Disconnect the handler.
std::unique_ptr< Handler > MakeHandler(boost::signals2::connection connection)
Return handler wrapping a boost signal connection.
T GetRand(T nMax=std::numeric_limits< T >::max()) noexcept
Generate a uniform random integer of type T in the range [0..nMax) nMax defaults to std::numeric_limi...