Fabcoin Core
0.16.2
P2P Digital Currency
|
Super-duper signal mechanism. TODO: replace with somthing a bit heavier weight. More...
#include <Common.h>
Classes | |
class | HandlerAux |
Public Types | |
using | Callback = std::function< void(Args...)> |
Public Member Functions | |
~Signal () | |
std::shared_ptr< HandlerAux > | add (Callback const &_h) |
void | operator() (Args const &..._args) |
Private Attributes | |
std::map< unsigned, std::weak_ptr< typename Signal::HandlerAux > > | m_fire |
Super-duper signal mechanism. TODO: replace with somthing a bit heavier weight.
using dev::eth::Signal< Args >::Callback = std::function<void(Args...)> |
|
inline |
|
inline |
|
inline |
|
private |