#include <moving_average_filter.h>
Public Member Functions | |
void | init () override |
MovingAverageFilter () | |
const char * | name () const override |
QWidget * | optionsWidget () override |
bool | xmlLoadState (const QDomElement &parent_element) override |
bool | xmlSaveState (QDomDocument &doc, QDomElement &parent_element) const override |
~MovingAverageFilter () override | |
Public Member Functions inherited from PJ::TimeSeriesTransform | |
QString | alias () const |
void | calculate (PlotData *dst_data) |
const PlotData * | dataSource () const |
void | setAlias (QString alias) |
void | setDataSource (const PlotData *src_data) |
TimeSeriesTransform () | |
virtual | ~TimeSeriesTransform () |
Public Member Functions inherited from PJ::PlotJugglerPlugin | |
virtual const std::vector< QAction * > & | availableActions () |
virtual bool | isDebugPlugin () |
PlotJugglerPlugin () | |
QDomElement | xmlSaveState (QDomDocument &doc) const |
Private Member Functions | |
nonstd::optional< PlotData::Point > | calculateNextPoint (size_t index) override |
Private Attributes | |
std::vector< PlotData::Point > | _buffer |
nonstd::ring_span_lite::ring_span< PlotData::Point > | _ring_view |
QWidget * | _widget |
Ui::MovingAverageFilter * | ui |
Additional Inherited Members | |
Signals inherited from PJ::TimeSeriesTransform | |
void | parametersChanged () |
Protected Attributes inherited from PJ::TimeSeriesTransform | |
QString | _alias |
double | _last_timestamp |
const PlotData * | _src_data |
Definition at line 17 of file moving_average_filter.h.
|
explicit |
Definition at line 6 of file moving_average_filter.cpp.
|
override |
Definition at line 20 of file moving_average_filter.cpp.
|
overrideprivatevirtual |
Implements PJ::TimeSeriesTransform.
Definition at line 33 of file moving_average_filter.cpp.
|
overridevirtual |
Reimplemented from PJ::TimeSeriesTransform.
Definition at line 26 of file moving_average_filter.cpp.
|
inlineoverridevirtual |
Implements PJ::TimeSeriesTransform.
Definition at line 26 of file moving_average_filter.h.
|
overridevirtual |
Reimplemented from PJ::PlotJugglerPlugin.
Definition at line 66 of file moving_average_filter.cpp.
|
overridevirtual |
Reimplemented from PJ::PlotJugglerPlugin.
Definition at line 80 of file moving_average_filter.cpp.
|
overridevirtual |
Reimplemented from PJ::PlotJugglerPlugin.
Definition at line 71 of file moving_average_filter.cpp.
|
private |
Definition at line 37 of file moving_average_filter.h.
|
private |
Definition at line 38 of file moving_average_filter.h.
|
private |
Definition at line 36 of file moving_average_filter.h.
|
private |
Definition at line 35 of file moving_average_filter.h.