16 #ifndef __VOM_QOS_MAP_H__ 17 #define __VOM_QOS_MAP_H__ 38 typedef std::array<std::array<bits_t, 256>, 4>
outputs_t;
40 map(uint32_t
id,
const outputs_t& o);
50 const key_t
key()
const;
55 const key_t
id()
const;
65 std::shared_ptr<map>
singular()
const;
70 static std::shared_ptr<map>
find(
const key_t& k);
75 static void dump(std::ostream& os);
105 void handle_replay();
110 void show(std::ostream& os);
126 void update(
const map& obj);
131 static std::shared_ptr<map> find_or_add(
const map& temp);
static std::shared_ptr< map > find(const key_t &k)
Find the instnace of the bridge_domain domain in the OM.
static void dump(std::ostream &os)
Dump all bridge_domain-doamin into the stream provided.
const std::string key_t
In the opflex world each entity is known by a URI which can be converted into a string.
const key_t key() const
Return the object's key.
const key_t id() const
Return the object's ID.
bool operator==(const map &bdae) const
comparison operator
std::shared_ptr< map > singular() const
Return the matching 'singular instance'.
A Database to store the unique 'singular' instances of a single object type.
std::array< std::array< bits_t, 256 >, 4 > outputs_t
Class definition for listeners to OM events.
inspect command handler Handler
void event_handler(void *tls_async)
dependency_t
There needs to be a strict order in which object types are read from VPP (at boot time) and replayed ...
The interface to writing objects into VPP OM.
A QoS map determines how value from one source are translated to values of another source...
A base class for all object_base in the VPP object_base-Model.
The VPP Object Model (VOM) library.
std::string to_string() const
Convert to string for debugging.
void replay(void)
replay the object to create it in hardware
map(uint32_t id, const outputs_t &o)