Public Member Functions | Protected Attributes
averager Class Reference

List of all members.

Public Member Functions

void add_new (double data)
 averager (int max_len=50)
double get_mean ()

Protected Attributes

std::deque< double > deq
unsigned int max_len
double sum

Detailed Description

Definition at line 99 of file sickld.cpp.


Constructor & Destructor Documentation

averager::averager ( int  max_len = 50) [inline]

Definition at line 105 of file sickld.cpp.


Member Function Documentation

void averager::add_new ( double  data) [inline]

Definition at line 108 of file sickld.cpp.

double averager::get_mean ( ) [inline]

Definition at line 116 of file sickld.cpp.


Member Data Documentation

std::deque<double> averager::deq [protected]

Definition at line 101 of file sickld.cpp.

unsigned int averager::max_len [protected]

Definition at line 102 of file sickld.cpp.

double averager::sum [protected]

Definition at line 103 of file sickld.cpp.


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


sicktoolbox_wrapper
Author(s): Morgan Quigley
autogenerated on Thu Aug 27 2015 15:20:26