FD.io VPP
v21.01.1
Vector Packet Processing
|
A QoS map determines how value from one source are translated to values of another source. More...
Public Types | |
typedef std::array< std::array< bits_t, 256 >, 4 > | outputs_t |
typedef uint32_t | key_t |
Public Member Functions | |
map (uint32_t id, const outputs_t &o) | |
map (const map &r) | |
~map () | |
const key_t | key () const |
Return the object's key. More... | |
const key_t | id () const |
Return the object's ID. More... | |
bool | operator== (const map &bdae) const |
comparison operator More... | |
std::shared_ptr< map > | singular () 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< map > | find (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, map > |
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... | |
A QoS map determines how value from one source are translated to values of another source.
Definition at line 35 of file qos_map.hpp.
typedef uint32_t VOM::QoS::map::key_t |
Definition at line 45 of file qos_map.hpp.
typedef std::array<std::array<bits_t, 256>, 4> VOM::QoS::map::outputs_t |
Definition at line 38 of file qos_map.hpp.
VOM::QoS::map::map | ( | uint32_t | id, |
const outputs_t & | o | ||
) |
Definition at line 29 of file qos_map.cpp.
VOM::QoS::map::map | ( | const map & | r | ) |
Definition at line 36 of file qos_map.cpp.
VOM::QoS::map::~map | ( | ) |
|
static |
Dump all bridge_domain-doamin into the stream provided.
Definition at line 122 of file qos_map.cpp.
Find the instnace of the bridge_domain domain in the OM.
Definition at line 110 of file qos_map.cpp.
const uint32_t VOM::QoS::map::id | ( | ) | const |
Return the object's ID.
Definition at line 56 of file qos_map.cpp.
const map::key_t VOM::QoS::map::key | ( | ) | const |
Return the object's key.
Definition at line 50 of file qos_map.cpp.
comparison operator
Definition at line 62 of file qos_map.cpp.
|
virtual |
replay the object to create it in hardware
Implements VOM::object_base.
Definition at line 77 of file qos_map.cpp.
std::shared_ptr< map > VOM::QoS::map::singular | ( | ) | const |
Return the matching 'singular instance'.
Definition at line 116 of file qos_map.cpp.
|
virtual |
Convert to string for debugging.
Implements VOM::object_base.
Definition at line 85 of file qos_map.cpp.
|
friend |
It's the singular_db class that calls replay()
Definition at line 141 of file qos_map.hpp.
|
friend |
Definition at line 136 of file qos_map.hpp.