OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SandeshEventStatistics Class Reference

#include <sandesh_statistics.h>

Public Types

typedef boost::ptr_map
< std::string,
SandeshStateMachineEvStats > 
EventStatsMap
 

Public Member Functions

 SandeshEventStatistics ()
 
void Update (std::string &event_name, bool enqueue, bool fail)
 
void Get (std::vector< SandeshStateMachineEvStats > *ev_stats) const
 
void Shutdown ()
 

Public Attributes

EventStatsMap event_stats_
 
SandeshStateMachineEvStats agg_stats_
 

Private Attributes

bool deleted_
 

Detailed Description

Definition at line 51 of file sandesh_statistics.h.

Member Typedef Documentation

typedef boost::ptr_map<std::string, SandeshStateMachineEvStats> SandeshEventStatistics::EventStatsMap

Definition at line 59 of file sandesh_statistics.h.

Constructor & Destructor Documentation

SandeshEventStatistics::SandeshEventStatistics ( )
inline

Definition at line 53 of file sandesh_statistics.h.

Member Function Documentation

void SandeshEventStatistics::Get ( std::vector< SandeshStateMachineEvStats > *  ev_stats) const

Definition at line 284 of file sandesh_statistics.cc.

void SandeshEventStatistics::Shutdown ( void  )

Definition at line 326 of file sandesh_statistics.cc.

void SandeshEventStatistics::Update ( std::string &  event_name,
bool  enqueue,
bool  fail 
)

Definition at line 296 of file sandesh_statistics.cc.

Member Data Documentation

SandeshStateMachineEvStats SandeshEventStatistics::agg_stats_

Definition at line 61 of file sandesh_statistics.h.

bool SandeshEventStatistics::deleted_
private

Definition at line 63 of file sandesh_statistics.h.

EventStatsMap SandeshEventStatistics::event_stats_

Definition at line 60 of file sandesh_statistics.h.


The documentation for this class was generated from the following files: