MultiData.h
1//-*-C++-*-
2/***************************************************************************
3 *
4 * Copyright (C) 2010 by Willem van Straten
5 * Licensed under the Academic Free License version 2.1
6 *
7 ***************************************************************************/
8
9// psrchive/More/Plotting/Pulsar/MultiData.h
10
11#ifndef __Pulsar_MultiData_h
12#define __Pulsar_MultiData_h
13
14#include "Pulsar/Plot.h"
15
16namespace Pulsar {
17
19 class MultiData : public Plot
20 {
21
22 public:
23
25 static Plot* factory (Plot*);
26
28 void preprocess (Archive*);
29
32
35
38
40 void configure (const std::string& option);
41
44
47
49 bool has_preprocessor () const;
50
52 Plot* get_Plot () { return managed_plot; }
53
54 protected:
55
58
60 std::vector< std::string > options;
61 };
62
63}
64
65#endif
The primary interface to pulsar observational data.
Definition Archive.h:46
Combines multiple data sets in a single plot.
Definition MultiData.h:20
Reference::To< Plot > managed_plot
The plot that is managed by this instance.
Definition MultiData.h:57
TextInterface::Parser * get_frame_interface()
Get the text interface to the frame attributes.
Definition MultiData.C:56
Plot * get_Plot()
Get the managed plot.
Definition MultiData.h:52
void preprocess(Archive *)
Process the Archive as needed before calling plot.
Definition MultiData.C:38
void set_preprocessor(Processor *)
Set the pre-processor.
Definition MultiData.C:69
PlotAttributes * get_attributes()
Provide access to the plot attributes.
Definition MultiData.C:44
std::vector< std::string > options
The options passed to configure.
Definition MultiData.h:60
TextInterface::Parser * get_interface()
Get the text interface to the configuration attributes.
Definition MultiData.C:50
static Plot * factory(Plot *)
Factory returns appropriate derived class.
Definition MultiData.C:13
Processor * get_preprocessor()
Get the pre-processor.
Definition MultiData.C:75
void configure(const std::string &option)
Process a configuration command and store it for later use.
Definition MultiData.C:62
bool has_preprocessor() const
Return true if pre-processor has been set.
Definition MultiData.C:81
Stores the properties of the plot frame.
Definition PlotAttributes.h:20
Plot()
Default constructor.
Definition Plot.C:14
Interface to any object that processes data in an Archive.
Definition Processor.h:23
Defines the PSRCHIVE library.
Definition CalSource.h:17

Generated using doxygen 1.14.0