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