FramedPlot.h
1//-*-C++-*-
2/***************************************************************************
3 *
4 * Copyright (C) 2006 by Willem van Straten
5 * Licensed under the Academic Free License version 2.1
6 *
7 ***************************************************************************/
8
9// psrchive/More/Plotting/Pulsar/FramedPlot.h
10
11#ifndef __Pulsar_FramedPlot_h
12#define __Pulsar_FramedPlot_h
13
14#include "Pulsar/Plot.h"
15#include "Pulsar/PlotFrame.h"
16
17namespace Pulsar {
18
20 class FramedPlot : public Plot {
21
22 public:
23
25 FramedPlot ();
26
29
32
34 virtual PlotFrame* get_frame ();
35
37 virtual const PlotFrame* get_frame () const;
38
40 virtual void set_frame (PlotFrame*);
41
43 virtual void prepare (const Archive*) {}
44
45 protected:
46
49 };
50
51}
52
53#endif
The primary interface to pulsar observational data.
Definition Archive.h:46
virtual void set_frame(PlotFrame *)
Set the frame.
Definition FramedPlot.C:39
Reference::To< PlotFrame > frame
The plot frame.
Definition FramedPlot.h:48
FramedPlot()
Default constructor.
Definition FramedPlot.C:10
virtual PlotFrame * get_frame()
Get the frame.
Definition FramedPlot.C:27
PlotAttributes * get_attributes()
Get the plot attributes.
Definition FramedPlot.C:21
virtual void prepare(const Archive *)
Derived classes must prepare to draw.
Definition FramedPlot.h:43
virtual TextInterface::Parser * get_frame_interface()
Get the text interface to the frame attributes.
Definition FramedPlot.C:16
Stores the properties of the plot frame.
Definition PlotAttributes.h:20
Stores the properties of the plot frame.
Definition PlotFrame.h:26
Plot()
Default constructor.
Definition Plot.C:14
Defines the PSRCHIVE library.
Definition CalSource.h:17

Generated using doxygen 1.14.0