FD.io VPP  v19.04.4-rc0-5-ge88582fac
Vector Packet Processing
VOM::bond_group_binding Class Reference

A representation of bond interface binding. More...

+ Inheritance diagram for VOM::bond_group_binding:
+ Collaboration diagram for VOM::bond_group_binding:

Public Types

typedef std::string key_t
 The KEY can be used to uniquely identify the Bond Binding. More...
 
typedef std::set< bond_memberenslaved_itf_t
 The container type for enslaved itfs. More...
 

Public Member Functions

 bond_group_binding (const bond_interface &itf, const enslaved_itf_t &mem)
 Construct a new object matching the desried state. More...
 
 bond_group_binding (const bond_group_binding &o)
 Copy Constructor. More...
 
 ~bond_group_binding ()
 Destructor. More...
 
std::shared_ptr< bond_group_bindingsingular () const
 Return the 'singular' of the bond interface binding that matches this object. More...
 
std::string to_string () const
 convert to string format for debug purposes More...
 
const key_t key () const
 get the key to this object More...
 

Static Public Member Functions

static void dump (std::ostream &os)
 Dump all bond interface bindings into the stream provided. More...
 

Friends

class OM
 
class singular_db< key_t, bond_group_binding >
 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 representation of bond interface binding.

Definition at line 34 of file bond_group_binding.hpp.

Member Typedef Documentation

◆ enslaved_itf_t

The container type for enslaved itfs.

Definition at line 47 of file bond_group_binding.hpp.

◆ key_t

typedef std::string VOM::bond_group_binding::key_t

The KEY can be used to uniquely identify the Bond Binding.

(other choices for keys, like the summation of the properties of the rules, are rather too cumbersome to use

Definition at line 42 of file bond_group_binding.hpp.

Constructor & Destructor Documentation

◆ bond_group_binding() [1/2]

VOM::bond_group_binding::bond_group_binding ( const bond_interface itf,
const enslaved_itf_t mem 
)

Construct a new object matching the desried state.

Definition at line 30 of file bond_group_binding.cpp.

◆ bond_group_binding() [2/2]

VOM::bond_group_binding::bond_group_binding ( const bond_group_binding o)

Copy Constructor.

Definition at line 38 of file bond_group_binding.cpp.

◆ ~bond_group_binding()

VOM::bond_group_binding::~bond_group_binding ( )

Destructor.

Definition at line 45 of file bond_group_binding.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ dump()

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

Dump all bond interface bindings into the stream provided.

Definition at line 75 of file bond_group_binding.cpp.

+ Here is the call graph for this function:

◆ key()

const bond_group_binding::key_t VOM::bond_group_binding::key ( ) const

get the key to this object

Definition at line 54 of file bond_group_binding.cpp.

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

◆ singular()

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

Return the 'singular' of the bond interface binding that matches this object.

Definition at line 131 of file bond_group_binding.cpp.

+ Here is the call graph for this function:

◆ to_string()

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

convert to string format for debug purposes

Implements VOM::object_base.

Definition at line 95 of file bond_group_binding.cpp.

+ Here is the call graph for this function:

Friends And Related Function Documentation

◆ OM

friend class OM
friend

Definition at line 135 of file bond_group_binding.hpp.

◆ singular_db< key_t, bond_group_binding >

friend class singular_db< key_t, bond_group_binding >
friend

It's the singular_db class that calls replay()

Definition at line 140 of file bond_group_binding.hpp.


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