OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
qos_index.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2016 Juniper Networks, Inc. All rights reserved.
3  */
4 
5 #ifndef vnsw_agent_qos_index_resource_hpp
6 #define vnsw_agent_qos_index_resource_hpp
7 
8 /*
9  * qos index allocator using index_vector
10  */
11 #include <oper/interface.h>
14 
15 class ResourceManager;
16 class ResourceKey;
17 
19 public:
21  const boost::uuids::uuid &uuid_);
22  virtual ~QosIndexResourceKey() {};
23  virtual void Backup(ResourceData *data, uint16_t op);
24  virtual bool IsLess(const ResourceKey &rhs) const;
25 private:
27 };
28 #endif
virtual bool IsLess(const ResourceKey &rhs) const
Definition: qos_index.cc:39
boost::uuids::uuid uuid
QosIndexResourceKey(ResourceManager *rm, const boost::uuids::uuid &uuid_)
Definition: qos_index.cc:16
ResourceManager * rm()
boost::uuids::uuid uuid_
Definition: qos_index.h:26
virtual void Backup(ResourceData *data, uint16_t op)
Definition: qos_index.cc:22
virtual ~QosIndexResourceKey()
Definition: qos_index.h:22