summaryrefslogtreecommitdiffhomepage
path: root/FTNoIR_Filter_EWMA2/FTNoIR_Filter_EWMA2.h
diff options
context:
space:
mode:
Diffstat (limited to 'FTNoIR_Filter_EWMA2/FTNoIR_Filter_EWMA2.h')
-rw-r--r--FTNoIR_Filter_EWMA2/FTNoIR_Filter_EWMA2.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/FTNoIR_Filter_EWMA2/FTNoIR_Filter_EWMA2.h b/FTNoIR_Filter_EWMA2/FTNoIR_Filter_EWMA2.h
index f313d154..18afe3bd 100644
--- a/FTNoIR_Filter_EWMA2/FTNoIR_Filter_EWMA2.h
+++ b/FTNoIR_Filter_EWMA2/FTNoIR_Filter_EWMA2.h
@@ -107,15 +107,11 @@ public:
void Release();
void Initialize();
- void getFullName(QString *strToBeFilled);
- void getShortName(QString *strToBeFilled);
- void getDescription(QString *strToBeFilled);
- void getIcon(QIcon *icon);
+ void getFullName(QString *strToBeFilled) { *strToBeFilled = QString("EWMA Filter Mk2"); };
+ void getShortName(QString *strToBeFilled) { *strToBeFilled = QString("EWMA"); };
+ void getDescription(QString *strToBeFilled) { *strToBeFilled = QString("Exponentially Weighted Moving Average filter with dynamic smoothing parameter"); };
-private:
- QString filterFullName; // Filters' name and description
- QString filterShortName;
- QString filterDescription;
+ void getIcon(QIcon *icon){ *icon = QIcon(":/images/filter-16.png"); };
};
#endif //INCLUDED_FTN_FILTER_H