FD.io VPP  v19.04.1-1-ge4a0f9f
Vector Packet Processing
VOM::stat_reader Class Reference

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...
 

Detailed Description

Stat reader: single interface to get stats.

Definition at line 29 of file stat_reader.hpp.

Constructor & Destructor Documentation

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.

Member Function Documentation

int VOM::stat_reader::connect ( )
virtual

connection to stat object

Definition at line 38 of file stat_reader.cpp.

+ Here is the call graph for this function:

void VOM::stat_reader::disconnect ( )
virtual

disconnect to stat object

Definition at line 44 of file stat_reader.cpp.

+ Here is the call graph for this function:

void VOM::stat_reader::read ( )
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.

+ Here is the call graph for this function:

Friends And Related Function Documentation

friend class interface
friend

friend to interface class to call stat_register and stat_unregister methods

Definition at line 68 of file stat_reader.hpp.


The documentation for this class was generated from the following files: