represents a counter of number of packets More...
#include <core/counter.hpp>
Inheritance diagram for nfd::PacketCounter:
Collaboration diagram for nfd::PacketCounter:Public Types | |
| typedef uint64_t | rep |
Public Member Functions | |
| operator rep () const | |
| observe the counter More... | |
| PacketCounter & | operator++ () |
| increment the counter by one More... | |
| void | set (rep value) |
| replace the counter value More... | |
Protected Attributes | |
| rep | m_value |
represents a counter of number of packets
Definition at line 77 of file counter.hpp.
|
inherited |
Definition at line 41 of file counter.hpp.
|
inlineinherited |
observe the counter
Definition at line 56 of file counter.hpp.
|
inline |
increment the counter by one
Definition at line 83 of file counter.hpp.
|
inlineinherited |
replace the counter value
Definition at line 64 of file counter.hpp.
|
protectedinherited |
Definition at line 70 of file counter.hpp.