All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
mybeat::Band Class Reference

#include <band.h>

List of all members.

Public Member Functions

double average ()
 Band (size_t m_size=0, double m_dropFactor=0.985)
double getAllTimeMaximum ()
double getAllTimeMaximumRaw ()
std::deque< double > getHistory ()
double getNewest ()
double getOldest ()
void log (double value)
void resetMaximum ()

Private Attributes

double m_allTimeMaximum
double m_dropFactor
std::deque< double > m_history
size_t m_size

Detailed Description

Definition at line 65 of file band.h.


Constructor & Destructor Documentation

mybeat::Band::Band ( size_t  m_size = 0,
double  m_dropFactor = 0.985 
)

Definition at line 60 of file band.cpp.


Member Function Documentation

Definition at line 76 of file band.cpp.

Definition at line 86 of file band.cpp.

Definition at line 93 of file band.cpp.

std::deque< double > mybeat::Band::getHistory ( )

Definition at line 104 of file band.cpp.

Definition at line 109 of file band.cpp.

Definition at line 114 of file band.cpp.

void mybeat::Band::log ( double  value)

Definition at line 65 of file band.cpp.

Definition at line 99 of file band.cpp.


Member Data Documentation

Definition at line 91 of file band.h.

double mybeat::Band::m_dropFactor [private]

Definition at line 92 of file band.h.

std::deque<double> mybeat::Band::m_history [private]

Definition at line 89 of file band.h.

size_t mybeat::Band::m_size [private]

Definition at line 90 of file band.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


cob_lightmode
Author(s): Benjamin Maidel
autogenerated on Thu Jan 17 2013 13:39:37