![]() |
Bitcoin Core 32.99.0
P2P Digital Currency
|
Track liveness. More...
Public Member Functions | |
| bool | connected () const |
Protected Member Functions | |
| liveness (std::shared_ptr< const void > callback) | |
| std::shared_ptr< const void > | load () const |
Private Member Functions | |
| void | disconnect () |
Private Attributes | |
| detail::atomic_shared_ptr< const void > | m_callback |
| Callback object, type-erased so connection does not depend on the signal type, and set to null by disconnect(). | |
Friends | |
| class | connection |
Track liveness.
Also serves as a tag for the constructor used by signal.
Definition at line 95 of file btcsignals.h.
|
inlineexplicitprotected |
Definition at line 108 of file btcsignals.h.
|
inline |
|
inlineprivate |
|
inlineprotected |
Definition at line 110 of file btcsignals.h.
|
friend |
Definition at line 97 of file btcsignals.h.
|
private |
Callback object, type-erased so connection does not depend on the signal type, and set to null by disconnect().
Signal invocation holds a reference to it while calling it, so a callback disconnected during a call is destroyed when the call returns.
Definition at line 103 of file btcsignals.h.