#include <Average.hpp>
Public Member Functions | |
void | push (double Value) |
Push a value. | |
double | average () |
Get the average. | |
Average (int Size=10) | |
Init constructor. | |
virtual | ~Average () |
Destructor. |
Definition at line 61 of file Average.hpp.
Average::Average | ( | int | Size = 10 |
) |
void Average::push | ( | double | Value | ) |
Push a value.
Push a value to be averaged.
Value | The value |
Definition at line 72 of file Average.cpp.
double Average::average | ( | void | ) |
Get the average.
Definition at line 88 of file Average.cpp.