rippled
|
Manages all counted object types. More...
Classes | |
class | Counter |
Implementation for CountedObject. More... | |
Public Types | |
using | Entry = std::pair< std::string, int > |
using | List = std::vector< Entry > |
Public Member Functions | |
List | getCounts (int minimumThreshold) const |
Static Public Member Functions | |
static CountedObjects & | getInstance () noexcept |
Private Member Functions | |
CountedObjects () noexcept | |
~CountedObjects () noexcept=default | |
Private Attributes | |
std::atomic< int > | m_count |
std::atomic< Counter * > | m_head |
Manages all counted object types.
Definition at line 32 of file CountedObject.h.
using ripple::CountedObjects::Entry = std::pair<std::string, int> |
Definition at line 38 of file CountedObject.h.
using ripple::CountedObjects::List = std::vector<Entry> |
Definition at line 39 of file CountedObject.h.
|
privatenoexcept |
Definition at line 34 of file CountedObject.cpp.
|
privatedefaultnoexcept |
|
staticnoexcept |
Definition at line 27 of file CountedObject.cpp.
CountedObjects::List ripple::CountedObjects::getCounts | ( | int | minimumThreshold | ) | const |
Definition at line 39 of file CountedObject.cpp.
|
private |
Definition at line 110 of file CountedObject.h.
|
private |
Definition at line 111 of file CountedObject.h.