OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
agent_uve_stats.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
3  */
4 
5 #ifndef vnsw_agent_uve_stats_h
6 #define vnsw_agent_uve_stats_h
7 
8 #include <uve/agent_uve_base.h>
9 #include <uve/stats_manager.h>
10 
11 //The class to drive UVE module initialization for agent
12 //Defines objects required for statistics collection from vrouter and
13 //objects required for sending UVE information to collector.
14 class AgentUveStats : public AgentUveBase {
15 public:
16  AgentUveStats(Agent *agent, uint64_t intvl, uint32_t default_intvl,
17  uint32_t incremental_intvl);
18  virtual ~AgentUveStats();
19 
20  virtual void Shutdown();
21  virtual void RegisterDBClients();
22  StatsManager *stats_manager() const;
23  void InitDone();
24 
25 protected:
26  boost::scoped_ptr<StatsManager> stats_manager_;
27 
28 private:
30 };
31 
32 #endif //vnsw_agent_uve_stats_h
StatsManager * stats_manager() const
virtual ~AgentUveStats()
Agent * agent() const
Definition: agent.h:358
virtual void Shutdown()
AgentUveStats(Agent *agent, uint64_t intvl, uint32_t default_intvl, uint32_t incremental_intvl)
boost::scoped_ptr< StatsManager > stats_manager_
virtual void RegisterDBClients()
DISALLOW_COPY_AND_ASSIGN(AgentUveStats)