FD.io VPP  v21.10.1-2-g0a485f517
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

◆ stat_reader() [1/2]

VOM::stat_reader::stat_reader ( )

Default Constructor.

Definition at line 23 of file stat_reader.cpp.

◆ stat_reader() [2/2]

VOM::stat_reader::stat_reader ( stat_client  sc)

Constructor.

Definition at line 27 of file stat_reader.cpp.

◆ ~stat_reader()

VOM::stat_reader::~stat_reader ( )

Destructor.

Definition at line 31 of file stat_reader.cpp.

Member Function Documentation

◆ connect()

int VOM::stat_reader::connect ( )
virtual

connection to stat object

Definition at line 34 of file stat_reader.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ disconnect()

void VOM::stat_reader::disconnect ( )
virtual

disconnect to stat object

Definition at line 40 of file stat_reader.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ read()

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

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Friends And Related Function Documentation

◆ interface

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: