OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SandeshUVEPerTypeMapGroup< T, U, P, TM > Class Template Reference

#include <sandesh_uve.h>

Inheritance diagram for SandeshUVEPerTypeMapGroup< T, U, P, TM >:
Collaboration diagram for SandeshUVEPerTypeMapGroup< T, U, P, TM >:

Public Types

typedef
SandeshUVEPerTypeMapImpl< T, U,
P, TM > 
uve_emap
 
typedef boost::ptr_map< string,
uve_emap
uve_nmap
 
typedef boost::ptr_map< int,
uve_emap
uve_pmap
 
typedef boost::ptr_map< string,
uve_pmap
uve_gmap
 

Public Member Functions

 SandeshUVEPerTypeMapGroup (char const *u_name)
 
string GetNMapUVEname (U &data)
 
uve_emapGetNMap (const std::string &name)
 
std::vector< uve_emap * > GetNMaps (void)
 
uve_pmapGetGMap (const std::string &proxy)
 
std::vector< uve_pmap * > GetGMaps (void)
 
uint32_t TypeSeq (void) const
 
int GetTimeout (void) const
 
uint32_t SyncUVE (const std::string &table, SandeshUVE::SendType st, uint32_t seqno, uint32_t cycle, const std::string &ctx)
 
bool InitDerivedStats (const std::map< std::string, std::string > &dsconf)
 
bool SendUVE (const std::string &table, const std::string &name, const std::string &ctx) const
 
std::map< std::string,
std::string > 
GetDSConf (void) const
 
bool UpdateUVE (U &data, uint32_t seqnum, uint64_t mono_usec, int partition, SandeshLevel::type level)
 
uint32_t ClearUVEs (const std::string &proxy, int partition)
 
- Public Member Functions inherited from SandeshUVEPerTypeMap
virtual ~SandeshUVEPerTypeMap ()
 

Private Attributes

tbb::mutex gmutex_
 
uve_gmap group_map_
 
tbb::mutex nmutex_
 
uve_nmap native_group_map_
 
uve_emapnativep_
 

Detailed Description

template<typename T, typename U, int P, int TM>
class SandeshUVEPerTypeMapGroup< T, U, P, TM >

Definition at line 353 of file sandesh_uve.h.

Member Typedef Documentation

template<typename T , typename U , int P, int TM>
typedef SandeshUVEPerTypeMapImpl<T,U,P,TM> SandeshUVEPerTypeMapGroup< T, U, P, TM >::uve_emap

Definition at line 355 of file sandesh_uve.h.

template<typename T , typename U , int P, int TM>
typedef boost::ptr_map<string, uve_pmap> SandeshUVEPerTypeMapGroup< T, U, P, TM >::uve_gmap

Definition at line 364 of file sandesh_uve.h.

template<typename T , typename U , int P, int TM>
typedef boost::ptr_map<string, uve_emap> SandeshUVEPerTypeMapGroup< T, U, P, TM >::uve_nmap

Definition at line 358 of file sandesh_uve.h.

template<typename T , typename U , int P, int TM>
typedef boost::ptr_map<int, uve_emap> SandeshUVEPerTypeMapGroup< T, U, P, TM >::uve_pmap

Definition at line 361 of file sandesh_uve.h.

Constructor & Destructor Documentation

template<typename T , typename U , int P, int TM>
SandeshUVEPerTypeMapGroup< T, U, P, TM >::SandeshUVEPerTypeMapGroup ( char const *  u_name)
inline

Definition at line 366 of file sandesh_uve.h.

Here is the call graph for this function:

Member Function Documentation

template<typename T , typename U , int P, int TM>
uint32_t SandeshUVEPerTypeMapGroup< T, U, P, TM >::ClearUVEs ( const std::string &  proxy,
int  partition 
)
inlinevirtual

Implements SandeshUVEPerTypeMap.

Definition at line 506 of file sandesh_uve.h.

template<typename T , typename U , int P, int TM>
std::map<std::string, std::string> SandeshUVEPerTypeMapGroup< T, U, P, TM >::GetDSConf ( void  ) const
inlinevirtual

Implements SandeshUVEPerTypeMap.

Definition at line 488 of file sandesh_uve.h.

Here is the call graph for this function:

template<typename T , typename U , int P, int TM>
uve_pmap* SandeshUVEPerTypeMapGroup< T, U, P, TM >::GetGMap ( const std::string &  proxy)
inline

Definition at line 405 of file sandesh_uve.h.

template<typename T , typename U , int P, int TM>
std::vector<uve_pmap *> SandeshUVEPerTypeMapGroup< T, U, P, TM >::GetGMaps ( void  )
inline

Definition at line 419 of file sandesh_uve.h.

template<typename T , typename U , int P, int TM>
uve_emap* SandeshUVEPerTypeMapGroup< T, U, P, TM >::GetNMap ( const std::string &  name)
inline

Definition at line 380 of file sandesh_uve.h.

template<typename T , typename U , int P, int TM>
std::vector<uve_emap*> SandeshUVEPerTypeMapGroup< T, U, P, TM >::GetNMaps ( void  )
inline

Definition at line 394 of file sandesh_uve.h.

template<typename T , typename U , int P, int TM>
string SandeshUVEPerTypeMapGroup< T, U, P, TM >::GetNMapUVEname ( U &  data)
inline

Definition at line 374 of file sandesh_uve.h.

Here is the call graph for this function:

template<typename T , typename U , int P, int TM>
int SandeshUVEPerTypeMapGroup< T, U, P, TM >::GetTimeout ( void  ) const
inlinevirtual

Implements SandeshUVEPerTypeMap.

Definition at line 435 of file sandesh_uve.h.

template<typename T , typename U , int P, int TM>
bool SandeshUVEPerTypeMapGroup< T, U, P, TM >::InitDerivedStats ( const std::map< std::string, std::string > &  dsconf)
inlinevirtual

Implements SandeshUVEPerTypeMap.

Definition at line 462 of file sandesh_uve.h.

Here is the call graph for this function:

template<typename T , typename U , int P, int TM>
bool SandeshUVEPerTypeMapGroup< T, U, P, TM >::SendUVE ( const std::string &  table,
const std::string &  name,
const std::string &  ctx 
) const
inlinevirtual

Implements SandeshUVEPerTypeMap.

Definition at line 469 of file sandesh_uve.h.

Here is the call graph for this function:

template<typename T , typename U , int P, int TM>
uint32_t SandeshUVEPerTypeMapGroup< T, U, P, TM >::SyncUVE ( const std::string &  table,
SandeshUVE::SendType  st,
uint32_t  seqno,
uint32_t  cycle,
const std::string &  ctx 
)
inlinevirtual

Implements SandeshUVEPerTypeMap.

Definition at line 440 of file sandesh_uve.h.

Here is the call graph for this function:

template<typename T , typename U , int P, int TM>
uint32_t SandeshUVEPerTypeMapGroup< T, U, P, TM >::TypeSeq ( void  ) const
inlinevirtual

Implements SandeshUVEPerTypeMap.

Definition at line 431 of file sandesh_uve.h.

template<typename T , typename U , int P, int TM>
bool SandeshUVEPerTypeMapGroup< T, U, P, TM >::UpdateUVE ( U &  data,
uint32_t  seqnum,
uint64_t  mono_usec,
int  partition,
SandeshLevel::type  level 
)
inline

Definition at line 492 of file sandesh_uve.h.

Here is the call graph for this function:

Member Data Documentation

template<typename T , typename U , int P, int TM>
tbb::mutex SandeshUVEPerTypeMapGroup< T, U, P, TM >::gmutex_
mutableprivate

Definition at line 519 of file sandesh_uve.h.

template<typename T , typename U , int P, int TM>
uve_gmap SandeshUVEPerTypeMapGroup< T, U, P, TM >::group_map_
private

Definition at line 520 of file sandesh_uve.h.

template<typename T , typename U , int P, int TM>
uve_nmap SandeshUVEPerTypeMapGroup< T, U, P, TM >::native_group_map_
private

Definition at line 522 of file sandesh_uve.h.

template<typename T , typename U , int P, int TM>
uve_emap* SandeshUVEPerTypeMapGroup< T, U, P, TM >::nativep_
private

Definition at line 523 of file sandesh_uve.h.

template<typename T , typename U , int P, int TM>
tbb::mutex SandeshUVEPerTypeMapGroup< T, U, P, TM >::nmutex_
mutableprivate

Definition at line 521 of file sandesh_uve.h.


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