36 lines
866 B
C
36 lines
866 B
C
|
#ifndef GTL_GUI_APFC_SERIES_H
|
||
|
#define GTL_GUI_APFC_SERIES_H
|
||
|
|
||
|
#include "math/gtl_math_apfc.h"
|
||
|
|
||
|
#include "gtl_gui_chart_series.h"
|
||
|
|
||
|
namespace gtl {
|
||
|
namespace gui {
|
||
|
|
||
|
class apfc_series : public gtl::gui::chart_series
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
apfc_series(bool is_updating, bool is_amplitude, gtl::math::apfc* apfc, gtl::analog_data* ai, ::chart::axis_horz* axis_x, ::chart::axis_vert* axis_y);
|
||
|
~apfc_series();
|
||
|
|
||
|
void set_apfc(gtl::math::apfc *apfc);
|
||
|
|
||
|
QString name() const;
|
||
|
void set_name(const QString &newName);
|
||
|
|
||
|
private:
|
||
|
gtl::math::apfc *_apfc = nullptr;
|
||
|
bool _is_ampl = true;
|
||
|
QString _name = "";
|
||
|
|
||
|
public slots:
|
||
|
void update();
|
||
|
};
|
||
|
|
||
|
} // namespace gui
|
||
|
} // namespace gtl
|
||
|
|
||
|
#endif // GTL_GUI_APFC_SERIES_H
|