rippled
|
Mix-in to track when all pending I/O is complete. More...
Classes | |
class | CompletionCounter |
RAII container that maintains the count of pending I/O. More... | |
Public Member Functions | |
~AsyncObject () | |
void | addReference () |
void | removeReference () |
Protected Member Functions | |
AsyncObject () | |
Private Attributes | |
std::atomic< int > | m_pending |
Mix-in to track when all pending I/O is complete.
Derived classes must be callable with this signature: void asyncHandlersComplete()
Definition at line 40 of file ResolverAsio.cpp.
|
protected |
Definition at line 43 of file ResolverAsio.cpp.
ripple::AsyncObject< Derived >::~AsyncObject | ( | ) |
Definition at line 48 of file ResolverAsio.cpp.
void ripple::AsyncObject< Derived >::addReference | ( | ) |
Definition at line 86 of file ResolverAsio.cpp.
void ripple::AsyncObject< Derived >::removeReference | ( | ) |
Definition at line 92 of file ResolverAsio.cpp.
|
private |
Definition at line 100 of file ResolverAsio.cpp.