00001 #ifndef CUSTOM_TIMESERIES_H 00002 #define CUSTOM_TIMESERIES_H 00003 00004 #include "timeseries_qwt.h" 00005 #include "custom_function.h" 00006 #include "PlotJuggler/plotdata.h" 00007 00008 class CustomTimeseries: public TimeseriesQwt 00009 { 00010 public: 00011 CustomTimeseries(const PlotData *source_data, 00012 const SnippetData &snippet, 00013 PlotDataMapRef& mapped_data); 00014 00015 bool updateCache() override; 00016 00017 private: 00018 CustomFunction _transform; 00019 const PlotDataMapRef& _mapped_data; 00020 00021 }; 00022 00023 #endif // CUSTOM_TIMESERIES_H