FD.io VPP
v19.01.2-3-gf61a1a8
Vector Packet Processing
|
Stat reader: single interface to get stats. More...
Public Member Functions | |
stat_reader () | |
Default Constructor. More... | |
stat_reader (stat_client sc) | |
Constructor. More... | |
~stat_reader () | |
Destructor. More... | |
virtual int | connect () |
connection to stat object More... | |
virtual void | disconnect () |
disconnect to stat object More... | |
virtual void | read () |
read stats for registered objects from stat_segment and set those stats to respective objects More... | |
Friends | |
class | interface |
friend to interface class to call stat_register and stat_unregister methods More... | |
Stat reader: single interface to get stats.
Definition at line 29 of file stat_reader.hpp.
VOM::stat_reader::stat_reader | ( | ) |
Default Constructor.
Definition at line 23 of file stat_reader.cpp.
VOM::stat_reader::stat_reader | ( | stat_client | sc | ) |
Constructor.
Definition at line 28 of file stat_reader.cpp.
VOM::stat_reader::~stat_reader | ( | ) |
Destructor.
Definition at line 33 of file stat_reader.cpp.
|
virtual |
connection to stat object
Definition at line 38 of file stat_reader.cpp.
|
virtual |
disconnect to stat object
Definition at line 44 of file stat_reader.cpp.
|
virtual |
read stats for registered objects from stat_segment and set those stats to respective objects
Definition at line 62 of file stat_reader.cpp.
|
friend |
friend to interface class to call stat_register and stat_unregister methods
Definition at line 68 of file stat_reader.hpp.