represents a counter of number of packets More...
#include <daemon/common/counter.hpp>
Inheritance diagram for nfd::PacketCounter:
Collaboration diagram for nfd::PacketCounter:Public Types | |
| typedef uint64_t | rep |
Public Member Functions | |
| operator rep () const noexcept | |
| observe the counter More... | |
| PacketCounter & | operator++ () noexcept |
| increment the counter by one More... | |
| void | set (rep value) noexcept |
| replace the counter value More... | |
Protected Attributes | |
| rep | m_value = 0 |
represents a counter of number of packets
Definition at line 66 of file counter.hpp.
|
inherited |
Definition at line 41 of file counter.hpp.
|
inlinenoexceptinherited |
observe the counter
Definition at line 45 of file counter.hpp.
|
inlinenoexcept |
increment the counter by one
Definition at line 72 of file counter.hpp.
|
inlinenoexceptinherited |
replace the counter value
Definition at line 53 of file counter.hpp.
|
protectedinherited |
Definition at line 59 of file counter.hpp.