FD.io VPP  v20.01-48-g3e0dafb74
Vector Packet Processing
VOM::QoS::record Class Reference
+ Inheritance diagram for VOM::QoS::record:
+ Collaboration diagram for VOM::QoS::record:

Public Types

typedef std::pair< interface::key_t, source_tkey_t
 

Public Member Functions

 record (const interface &i, const source_t &source)
 
 record (const record &r)
 
 ~record ()
 
const key_t key () const
 Return the object's key. More...
 
bool operator== (const record &bdae) const
 comparison operator More...
 
std::shared_ptr< recordsingular () 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...
 

Static Public Member Functions

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

Friends

class VOM::OM
 
class singular_db< key_t, record >
 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

Definition at line 31 of file qos_record.hpp.

Member Typedef Documentation

◆ key_t

Definition at line 39 of file qos_record.hpp.

Constructor & Destructor Documentation

◆ record() [1/2]

VOM::QoS::record::record ( const interface i,
const source_t source 
)

Definition at line 29 of file qos_record.cpp.

◆ record() [2/2]

VOM::QoS::record::record ( const record r)

Definition at line 36 of file qos_record.cpp.

◆ ~record()

VOM::QoS::record::~record ( )

Definition at line 43 of file qos_record.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ dump()

void VOM::QoS::record::dump ( std::ostream &  os)
static

Dump all bridge_domain-doamin into the stream provided.

Definition at line 114 of file qos_record.cpp.

+ Here is the call graph for this function:

◆ find()

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

Find the instnace of the bridge_domain domain in the OM.

Definition at line 102 of file qos_record.cpp.

◆ key()

const record::key_t VOM::QoS::record::key ( ) const

Return the object's key.

Definition at line 50 of file qos_record.cpp.

+ Here is the caller graph for this function:

◆ operator==()

bool VOM::QoS::record::operator== ( const record bdae) const

comparison operator

Definition at line 56 of file qos_record.cpp.

+ Here is the call graph for this function:

◆ replay()

void VOM::QoS::record::replay ( void  )
virtual

replay the object to create it in hardware

Implements VOM::object_base.

Definition at line 71 of file qos_record.cpp.

+ Here is the call graph for this function:

◆ singular()

std::shared_ptr< record > VOM::QoS::record::singular ( ) const

Return the matching 'singular instance'.

Definition at line 108 of file qos_record.cpp.

◆ to_string()

std::string VOM::QoS::record::to_string ( void  ) const
virtual

Convert to string for debugging.

Implements VOM::object_base.

Definition at line 79 of file qos_record.cpp.

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

Friends And Related Function Documentation

◆ singular_db< key_t, record >

friend class singular_db< key_t, record >
friend

It's the singular_db class that calls replay()

Definition at line 130 of file qos_record.hpp.

◆ VOM::OM

friend class VOM::OM
friend

Definition at line 125 of file qos_record.hpp.


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