FD.io VPP  v19.01.3-6-g70449b9b9
Vector Packet Processing
VOM::interface::stat_listener Class Referenceabstract

A class that listens to interface Stats. More...

+ Inheritance diagram for VOM::interface::stat_listener:
+ Collaboration diagram for VOM::interface::stat_listener:

Public Member Functions

 stat_listener ()
 Default Constructor. More...
 
virtual ~stat_listener ()=default
 
virtual void handle_interface_stat (const interface &)=0
 Virtual function called on the listener when the command has data ready to process. More...
 
HW::item< bool > & status ()
 Return the HW::item representing the status. More...
 

Protected Attributes

HW::item< boolm_status
 The status of the subscription. More...
 

Detailed Description

A class that listens to interface Stats.

Definition at line 457 of file interface.hpp.

Constructor & Destructor Documentation

◆ stat_listener()

VOM::interface::stat_listener::stat_listener ( )

Default Constructor.

Definition at line 124 of file interface.cpp.

◆ ~stat_listener()

virtual VOM::interface::stat_listener::~stat_listener ( )
virtualdefault

Member Function Documentation

◆ handle_interface_stat()

virtual void VOM::interface::stat_listener::handle_interface_stat ( const interface )
pure virtual

Virtual function called on the listener when the command has data ready to process.

Implemented in listener.

◆ status()

HW::item< bool > & VOM::interface::stat_listener::status ( )

Return the HW::item representing the status.

Definition at line 130 of file interface.cpp.

Field Documentation

◆ m_status

HW::item<bool> VOM::interface::stat_listener::m_status
protected

The status of the subscription.

Definition at line 482 of file interface.hpp.


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