PlotWindow.h
1 /***************************************************************************
2  *
3  * Copyright (C) 2008 by Willem van Straten
4  * Licensed under the Academic Free License version 2.1
5  *
6  ***************************************************************************/
7 
8 // psrchive/More/psrgui/Pulsar/PlotWindow.h
9 
10 #ifndef __Pulsar_PlotWindow_h
11 #define __Pulsar_PlotWindow_h
12 
13 #include "Reference.h"
14 
15 namespace Pulsar {
16 
17  class Archive;
18  class Plot;
19 
21  class PlotWindow : public Reference::Able
22  {
23  public:
24 
25  PlotWindow ();
27 
29  virtual void set_plot (Plot*);
30 
32  virtual void set_data (Archive*);
33 
35  Plot* get_plot ();
36 
38  Archive* get_data ();
39 
41  bool ready () const;
42 
44  virtual void plot_data ();
45 
46  protected:
47 
50  };
51 
52 }
53 
54 #endif
55 
virtual void plot_data()
Plot the data.
Definition: PlotWindow.C:52
Archive * get_data()
Get the data.
Definition: PlotWindow.C:41
The primary interface to pulsar observational data.
Definition: Archive.h:45
Plot * get_plot()
Get the plot.
Definition: PlotWindow.C:35
Defines the PSRCHIVE library.
Definition: CalSource.h:17
virtual void set_plot(Plot *)
Set the plot to be used.
Definition: PlotWindow.C:23
bool ready() const
Ready to plot data.
Definition: PlotWindow.C:46
Manages a window in which to Plot an Archive.
Definition: PlotWindow.h:26
Base class of all plotters.
Definition: Plot.h:28
virtual void set_data(Archive *)
Set the data to be plotted.
Definition: PlotWindow.C:29

Generated using doxygen 1.8.17