9 #include <boost/thread/mutex.hpp>
10 #include <boost/signals2.hpp>
23 bool Enabled () {
return _enabled; }
24 int GetWindowSize () {
return _windowSize; }
27 bool SetEnabled (
bool value);
28 bool SetWindowSize (
int value);
30 int CalcMovingAverage (
float*& inOutData);
32 virtual void OnWidthHeightChanged (
int width,
int height);
36 boost::signals2::connection _widthHeightConnection;
38 std::atomic<int> _width;
39 std::atomic<int> _height;
41 std::atomic<bool> _enabled;
42 std::atomic<bool> _reset;
44 std::atomic<int> _windowSize;
45 std::atomic<int> _numFilledBuffers;
52 bool ResizeBuffers ();
53 void ResetOutputDataBuffers ();
Interface of SameSizeBuffers class.
Class for calculating a moving average. The window size is configurable.
Definition: MovingAverage.h:17
Class that processes scans.
Definition: ScanProcessor.h:32