OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
mirror_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_mirror_index_resource_hpp
6 #define vnsw_agent_mirror_index_resource_hpp
7 
8 /*
9  * mirror index allocator using index_vector
10  */
13 
14 class ResourceManager;
15 class ResourceKey;
16 
18 public:
20  const string &analyzer_name);
22  virtual void Backup(ResourceData *data, uint16_t op);
23  virtual bool IsLess(const ResourceKey &rhs) const;
24 private:
25  std::string analyzer_name_;
26 };
27 #endif
virtual void Backup(ResourceData *data, uint16_t op)
Definition: mirror_index.cc:22
MirrorIndexResourceKey(ResourceManager *rm, const string &analyzer_name)
Definition: mirror_index.cc:16
ResourceManager * rm()
virtual ~MirrorIndexResourceKey()
Definition: mirror_index.h:21
virtual bool IsLess(const ResourceKey &rhs) const
Definition: mirror_index.cc:39
std::string analyzer_name_
Definition: mirror_index.h:25