#ifndef AMPL #define AMPL #include #include #include "gtl_math_analog_value.h" #include "math_global.h" #include namespace gtl { namespace math { class MATH_EXPORT ampl : public analog_value { Q_OBJECT public: ampl(gtl::analog_data *data); private: qreal _sum; std::set _ampl_indexes; qreal _dc; protected: virtual void before_copying_data(std::vector::iterator begin, std::vector::iterator end); virtual void after_copying_data(std::vector::iterator begin, std::vector::iterator end); signals: protected slots: virtual void data_changed(); }; } } #endif // AMPL