#ifndef AVERAGING_H #define AVERAGING_H #include "Device/device.h" #include #include class Averaging { public: Averaging(); void reset(); void setAverages(unsigned int a); Protocol::Datapoint process(Protocol::Datapoint d); unsigned int getLevel(); private: std::vector, 4>>> avg; int maxPoints; unsigned int averages; }; #endif // AVERAGING_H