FD.io VPP  v20.05.1-6-gf53edbc3b
Vector Packet Processing
VOM::gbp_ext_itf Class Reference

A enternal interface for GBP. More...

+ Inheritance diagram for VOM::gbp_ext_itf:
+ Collaboration diagram for VOM::gbp_ext_itf:

Public Types

typedef interface::key_t key_t
 The key for a GBP ext_itf interface. More...
 

Public Member Functions

 gbp_ext_itf (const interface &itf, const gbp_bridge_domain &gbd, const gbp_route_domain &grd)
 Construct a GBP ext_itf. More...
 
 gbp_ext_itf (const gbp_ext_itf &r)
 Copy Construct. More...
 
 ~gbp_ext_itf ()
 Destructor. More...
 
const key_t key () const
 Return the object's key. More...
 
bool operator== (const gbp_ext_itf &bdae) const
 comparison operator More...
 
std::shared_ptr< gbp_ext_itfsingular () const
 Return the matching 'singular instance'. More...
 
void replay (void)
 replay the object to create it in hardware More...
 
std::string to_string () const
 Convert to string for debugging. More...
 
const handle_thandle () const
 return the ext_itfulation interface's handle More...
 

Static Public Member Functions

static std::shared_ptr< gbp_ext_itffind (const key_t &k)
 Find the instnace of the ext_itf interface in the OM. More...
 
static void dump (std::ostream &os)
 Dump all bridge_domain-doamin into the stream provided. More...
 

Friends

class OM
 
class singular_db< key_t, gbp_ext_itf >
 It's the singular_db class that calls replay() More...
 

Additional Inherited Members

- Protected Member Functions inherited from VOM::object_base
 object_base ()=default
 Constructable by derived classes only. More...
 
virtual ~object_base ()=default
 Destructor. More...
 

Detailed Description

A enternal interface for GBP.

Definition at line 28 of file gbp_ext_itf.hpp.

Member Typedef Documentation

◆ key_t

The key for a GBP ext_itf interface.

Definition at line 34 of file gbp_ext_itf.hpp.

Constructor & Destructor Documentation

◆ gbp_ext_itf() [1/2]

VOM::gbp_ext_itf::gbp_ext_itf ( const interface itf,
const gbp_bridge_domain gbd,
const gbp_route_domain grd 
)

Construct a GBP ext_itf.

Definition at line 26 of file gbp_ext_itf.cpp.

◆ gbp_ext_itf() [2/2]

VOM::gbp_ext_itf::gbp_ext_itf ( const gbp_ext_itf r)

Copy Construct.

Definition at line 36 of file gbp_ext_itf.cpp.

◆ ~gbp_ext_itf()

VOM::gbp_ext_itf::~gbp_ext_itf ( )

Destructor.

Definition at line 44 of file gbp_ext_itf.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ dump()

void VOM::gbp_ext_itf::dump ( std::ostream &  os)
static

Dump all bridge_domain-doamin into the stream provided.

Definition at line 125 of file gbp_ext_itf.cpp.

+ Here is the call graph for this function:

◆ find()

std::shared_ptr< gbp_ext_itf > VOM::gbp_ext_itf::find ( const key_t k)
static

Find the instnace of the ext_itf interface in the OM.

Definition at line 113 of file gbp_ext_itf.cpp.

◆ handle()

const handle_t & VOM::gbp_ext_itf::handle ( ) const

return the ext_itfulation interface's handle

Definition at line 57 of file gbp_ext_itf.cpp.

◆ key()

const gbp_ext_itf::key_t VOM::gbp_ext_itf::key ( ) const

Return the object's key.

Definition at line 51 of file gbp_ext_itf.cpp.

+ Here is the caller graph for this function:

◆ operator==()

bool VOM::gbp_ext_itf::operator== ( const gbp_ext_itf bdae) const

comparison operator

Definition at line 63 of file gbp_ext_itf.cpp.

+ Here is the call graph for this function:

◆ replay()

void VOM::gbp_ext_itf::replay ( void  )
virtual

replay the object to create it in hardware

Implements VOM::object_base.

Definition at line 79 of file gbp_ext_itf.cpp.

+ Here is the call graph for this function:

◆ singular()

std::shared_ptr< gbp_ext_itf > VOM::gbp_ext_itf::singular ( ) const

Return the matching 'singular instance'.

Definition at line 119 of file gbp_ext_itf.cpp.

◆ to_string()

std::string VOM::gbp_ext_itf::to_string ( void  ) const
virtual

Convert to string for debugging.

Implements VOM::object_base.

Definition at line 88 of file gbp_ext_itf.cpp.

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

Friends And Related Function Documentation

◆ OM

friend class OM
friend

Definition at line 142 of file gbp_ext_itf.hpp.

◆ singular_db< key_t, gbp_ext_itf >

friend class singular_db< key_t, gbp_ext_itf >
friend

It's the singular_db class that calls replay()

Definition at line 147 of file gbp_ext_itf.hpp.


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