FD.io VPP
v20.09-64-g4f7b92f0a
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 27 of file stat_reader.cpp.
VOM::stat_reader::~stat_reader | ( | ) |
Destructor.
Definition at line 31 of file stat_reader.cpp.
|
virtual |
connection to stat object
Definition at line 34 of file stat_reader.cpp.
|
virtual |
disconnect to stat object
Definition at line 40 of file stat_reader.cpp.
|
virtual |
read stats for registered objects from stat_segment and set those stats to respective objects
Definition at line 58 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.