FD.io VPP  v18.10-34-gcce845e
Vector Packet Processing
VOM::interface::event_listener Class Referenceabstract

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

+ Collaboration diagram for VOM::interface::event_listener:

Public Member Functions

 event_listener ()
 Default Constructor. More...
 
virtual void handle_interface_event (interface_cmds::events_cmd *cmd)=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 Events.

Definition at line 398 of file interface.hpp.

Constructor & Destructor Documentation

VOM::interface::event_listener::event_listener ( )

Default Constructor.

Definition at line 101 of file interface.cpp.

Member Function Documentation

virtual void VOM::interface::event_listener::handle_interface_event ( interface_cmds::events_cmd cmd)
pure virtual

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

+ Here is the caller graph for this function:

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

Return the HW::item representing the status.

Definition at line 107 of file interface.cpp.

Field Documentation

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

The status of the subscription.

Definition at line 421 of file interface.hpp.


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