FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
VOM::QoS::store Class Reference
+ Inheritance diagram for VOM::QoS::store:
+ Collaboration diagram for VOM::QoS::store:

Public Types

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

Public Member Functions

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

Member Typedef Documentation

◆ key_t

Definition at line 39 of file qos_store.hpp.

Constructor & Destructor Documentation

◆ store() [1/2]

VOM::QoS::store::store ( const interface i,
const source_t source,
bits_t  value 
)

Definition at line 29 of file qos_store.cpp.

◆ store() [2/2]

VOM::QoS::store::store ( const store r)

Definition at line 37 of file qos_store.cpp.

◆ ~store()

VOM::QoS::store::~store ( )

Definition at line 45 of file qos_store.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ dump()

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

Dump all bridge_domain-doamin into the stream provided.

Definition at line 119 of file qos_store.cpp.

+ Here is the call graph for this function:

◆ find()

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

Find the instnace of the bridge_domain domain in the OM.

Definition at line 107 of file qos_store.cpp.

◆ key()

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

Return the object's key.

Definition at line 52 of file qos_store.cpp.

+ Here is the caller graph for this function:

◆ operator==()

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

comparison operator

Definition at line 58 of file qos_store.cpp.

+ Here is the call graph for this function:

◆ replay()

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

replay the object to create it in hardware

Implements VOM::object_base.

Definition at line 73 of file qos_store.cpp.

+ Here is the call graph for this function:

◆ singular()

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

Return the matching 'singular instance'.

Definition at line 113 of file qos_store.cpp.

◆ to_string()

std::string VOM::QoS::store::to_string ( ) const
virtual

Convert to string for debugging.

Implements VOM::object_base.

Definition at line 82 of file qos_store.cpp.

+ Here is the call graph for this function:

Friends And Related Function Documentation

◆ singular_db< key_t, store >

friend class singular_db< key_t, store >
friend

It's the singular_db class that calls replay()

Definition at line 130 of file qos_store.hpp.

◆ VOM::OM

friend class VOM::OM
friend

Definition at line 125 of file qos_store.hpp.


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