|
xrpld
|
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 () |
Private Member Functions | |
| AsyncObject () | |
Private Attributes | |
| std::atomic< int > | pending_ |
| friend | Derived |
Mix-in to track when all pending I/O is complete.
Derived classes must be callable with this signature: void asyncHandlersComplete()
Definition at line 41 of file ResolverAsio.cpp.
|
private |
Definition at line 43 of file ResolverAsio.cpp.
| xrpl::AsyncObject< Derived >::~AsyncObject | ( | ) |
Definition at line 48 of file ResolverAsio.cpp.
| void xrpl::AsyncObject< Derived >::addReference | ( | ) |
Definition at line 85 of file ResolverAsio.cpp.
| void xrpl::AsyncObject< Derived >::removeReference | ( | ) |
Definition at line 91 of file ResolverAsio.cpp.
|
private |
Definition at line 99 of file ResolverAsio.cpp.
|
private |
Definition at line 101 of file ResolverAsio.cpp.