Classes | Public Member Functions | Public Attributes | Protected Attributes
CStats< T > Class Template Reference

#include <Stats.h>

Inheritance diagram for CStats< T >:
Inheritance graph
[legend]

List of all members.

Classes

struct  stat_t

Public Member Functions

 CStats ()
 CStats (std::string &name)
get ()
std::string & getName ()
double getPercentage ()
std::string & getUnit ()
virtual void init ()
bool isValid ()
virtual bool new_touch ()
virtual bool new_value ()
void set (T val)

Public Attributes

aux1
aux2
bookmark
long long llaux
partial
total

Protected Attributes

int id
bool id_valid
std::string name
sum
std::string unit
val
bool valid

Detailed Description

template<class T>
class CStats< T >

Definition at line 65 of file Stats.h.


Constructor & Destructor Documentation

template<class T>
CStats< T >::CStats ( ) [inline]

Definition at line 86 of file Stats.h.

template<class T>
CStats< T >::CStats ( std::string &  name) [inline]

Definition at line 91 of file Stats.h.


Member Function Documentation

template<class T>
T CStats< T >::get ( ) [inline]

Definition at line 104 of file Stats.h.

template<class T>
std::string& CStats< T >::getName ( ) [inline]

Definition at line 96 of file Stats.h.

template<class T>
double CStats< T >::getPercentage ( ) [inline]

Definition at line 121 of file Stats.h.

template<class T>
std::string& CStats< T >::getUnit ( ) [inline]

Definition at line 129 of file Stats.h.

template<class T>
virtual void CStats< T >::init ( ) [inline, virtual]
template<class T>
bool CStats< T >::isValid ( ) [inline]

Definition at line 107 of file Stats.h.

template<class T>
virtual bool CStats< T >::new_touch ( ) [inline, virtual]

Definition at line 116 of file Stats.h.

template<class T>
virtual bool CStats< T >::new_value ( ) [inline, virtual]

Definition at line 111 of file Stats.h.

template<class T>
void CStats< T >::set ( val) [inline]

Definition at line 100 of file Stats.h.


Member Data Documentation

template<class T>
T CStats< T >::aux1

Definition at line 74 of file Stats.h.

template<class T>
T CStats< T >::aux2

Definition at line 74 of file Stats.h.

template<class T>
T CStats< T >::bookmark

Definition at line 74 of file Stats.h.

template<class T>
int CStats< T >::id [protected]

Definition at line 68 of file Stats.h.

template<class T>
bool CStats< T >::id_valid [protected]

Definition at line 69 of file Stats.h.

template<class T>
long long CStats< T >::llaux

Definition at line 75 of file Stats.h.

template<class T>
std::string CStats< T >::name [protected]

Definition at line 70 of file Stats.h.

template<class T>
T CStats< T >::partial

Definition at line 74 of file Stats.h.

template<class T>
T CStats< T >::sum [protected]

Definition at line 71 of file Stats.h.

template<class T>
T CStats< T >::total

Definition at line 74 of file Stats.h.

template<class T>
std::string CStats< T >::unit [protected]

Definition at line 70 of file Stats.h.

template<class T>
T CStats< T >::val [protected]

Definition at line 71 of file Stats.h.

template<class T>
bool CStats< T >::valid [protected]

Definition at line 72 of file Stats.h.


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


ros_rt_wmp_sniffer
Author(s): Danilo Tardioli, dantard@unizar.es
autogenerated on Fri Jan 3 2014 12:08:33