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