OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
contrail::sandesh::DerivedStatsPeriodicAnomalyIf< DSTT, ElemT, PreT, ResultT > Class Template Reference

#include <derived_stats.h>

Collaboration diagram for contrail::sandesh::DerivedStatsPeriodicAnomalyIf< DSTT, ElemT, PreT, ResultT >:

Public Member Functions

 DerivedStatsPeriodicAnomalyIf (std::string annotation, bool is_agg=false)
 
bool IsResult (void) const
 
void Update (ElemT raw, uint64_t mono_usec)
 
void Update (const std::map< std::string, ElemT > &raw, const std::map< std::string, bool > &del, uint64_t mono_usec)
 
bool Flush (const ResultT &res)
 
bool Flush (const std::map< std::string, ResultT > &mres)
 
void FillResult (ResultT &res, bool &isset, bool force=false) const
 
void FillResult (std::map< std::string, ResultT > &mres, bool &isset, bool force=false) const
 

Private Types

typedef std::map< std::string,
boost::shared_ptr< DSTT< ElemT,
ResultT > > > 
result_map
 

Private Attributes

DerivedStatsPeriodicIf< PreT,
ElemT, ElemT, DSPeriodic
< ElemT > > 
periodic_
 
DerivedStatsIf< DSTT, ElemT,
ResultT > 
anomaly_
 
bool init_
 

Detailed Description

template<template< class, class > class DSTT, typename ElemT, template< class, class > class PreT, typename ResultT>
class contrail::sandesh::DerivedStatsPeriodicAnomalyIf< DSTT, ElemT, PreT, ResultT >

Definition at line 406 of file derived_stats.h.

Member Typedef Documentation

template<template< class, class > class DSTT, typename ElemT , template< class, class > class PreT, typename ResultT >
typedef std::map<std::string, boost::shared_ptr<DSTT<ElemT,ResultT> > > contrail::sandesh::DerivedStatsPeriodicAnomalyIf< DSTT, ElemT, PreT, ResultT >::result_map
private

Definition at line 409 of file derived_stats.h.

Constructor & Destructor Documentation

template<template< class, class > class DSTT, typename ElemT , template< class, class > class PreT, typename ResultT >
contrail::sandesh::DerivedStatsPeriodicAnomalyIf< DSTT, ElemT, PreT, ResultT >::DerivedStatsPeriodicAnomalyIf ( std::string  annotation,
bool  is_agg = false 
)
inline

Definition at line 414 of file derived_stats.h.

Member Function Documentation

template<template< class, class > class DSTT, typename ElemT , template< class, class > class PreT, typename ResultT >
void contrail::sandesh::DerivedStatsPeriodicAnomalyIf< DSTT, ElemT, PreT, ResultT >::FillResult ( ResultT &  res,
bool &  isset,
bool  force = false 
) const
inline

Definition at line 492 of file derived_stats.h.

template<template< class, class > class DSTT, typename ElemT , template< class, class > class PreT, typename ResultT >
void contrail::sandesh::DerivedStatsPeriodicAnomalyIf< DSTT, ElemT, PreT, ResultT >::FillResult ( std::map< std::string, ResultT > &  mres,
bool &  isset,
bool  force = false 
) const
inline

Definition at line 496 of file derived_stats.h.

template<template< class, class > class DSTT, typename ElemT , template< class, class > class PreT, typename ResultT >
bool contrail::sandesh::DerivedStatsPeriodicAnomalyIf< DSTT, ElemT, PreT, ResultT >::Flush ( const ResultT &  res)
inline

Definition at line 436 of file derived_stats.h.

template<template< class, class > class DSTT, typename ElemT , template< class, class > class PreT, typename ResultT >
bool contrail::sandesh::DerivedStatsPeriodicAnomalyIf< DSTT, ElemT, PreT, ResultT >::Flush ( const std::map< std::string, ResultT > &  mres)
inline

Definition at line 453 of file derived_stats.h.

template<template< class, class > class DSTT, typename ElemT , template< class, class > class PreT, typename ResultT >
bool contrail::sandesh::DerivedStatsPeriodicAnomalyIf< DSTT, ElemT, PreT, ResultT >::IsResult ( void  ) const
inline

Definition at line 419 of file derived_stats.h.

template<template< class, class > class DSTT, typename ElemT , template< class, class > class PreT, typename ResultT >
void contrail::sandesh::DerivedStatsPeriodicAnomalyIf< DSTT, ElemT, PreT, ResultT >::Update ( ElemT  raw,
uint64_t  mono_usec 
)
inline

Definition at line 425 of file derived_stats.h.

template<template< class, class > class DSTT, typename ElemT , template< class, class > class PreT, typename ResultT >
void contrail::sandesh::DerivedStatsPeriodicAnomalyIf< DSTT, ElemT, PreT, ResultT >::Update ( const std::map< std::string, ElemT > &  raw,
const std::map< std::string, bool > &  del,
uint64_t  mono_usec 
)
inline

Definition at line 430 of file derived_stats.h.

Member Data Documentation

template<template< class, class > class DSTT, typename ElemT , template< class, class > class PreT, typename ResultT >
DerivedStatsIf<DSTT, ElemT, ResultT> contrail::sandesh::DerivedStatsPeriodicAnomalyIf< DSTT, ElemT, PreT, ResultT >::anomaly_
private

Definition at line 410 of file derived_stats.h.

template<template< class, class > class DSTT, typename ElemT , template< class, class > class PreT, typename ResultT >
bool contrail::sandesh::DerivedStatsPeriodicAnomalyIf< DSTT, ElemT, PreT, ResultT >::init_
private

Definition at line 411 of file derived_stats.h.

template<template< class, class > class DSTT, typename ElemT , template< class, class > class PreT, typename ResultT >
DerivedStatsPeriodicIf<PreT, ElemT, ElemT, DSPeriodic<ElemT> > contrail::sandesh::DerivedStatsPeriodicAnomalyIf< DSTT, ElemT, PreT, ResultT >::periodic_
private

Definition at line 408 of file derived_stats.h.


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