// Copyright (C) 2001 Jean-Marc Valin #ifndef GTKPLOTPROBE_H #define GTKPLOTPROBE_H #include "Probe.h" #include "gtkextra/gtkextra.h" namespace FD { class GtkPlotProbe : public Probe { protected: GtkWidget *canvas; GtkWidget *active_plot; GtkPlotData *dataset; vector x; vector y; vector dx; vector dy; double xmin, xmax, ymin, ymax; public: GtkPlotProbe(string nodeName, ParameterSet params); virtual ~GtkPlotProbe(); /**Class specific initialization routine. Each class will call its subclass initialize() method*/ virtual void initialize(); /**Class reset routine. Each class will call its superclass reset() method*/ virtual void reset(); /**Ask for the node's output which ID (number) is output_id and for the 'count' iteration */ //virtual ObjectRef getOutput(int output_id, int count); virtual void display(); virtual void show_hide(); void print(); }; }//namespace FD #endif