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's value. More... | |
| PacketCounter & | operator++ () noexcept |
| Increment the counter by one. More... | |
| void | set (rep value) noexcept |
| Replace the counter's value. More... | |
Protected Attributes | |
| rep | m_value = 0 |
Represents a counter of number of packets.
Definition at line 69 of file counter.hpp.
|
inherited |
Definition at line 42 of file counter.hpp.
|
inlinenoexceptinherited |
Observe the counter's value.
Definition at line 47 of file counter.hpp.
|
inlinenoexcept |
Increment the counter by one.
Definition at line 75 of file counter.hpp.
|
inlinenoexceptinherited |
Replace the counter's value.
Definition at line 56 of file counter.hpp.
|
protectedinherited |
Definition at line 62 of file counter.hpp.