00001
00002
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00021
00030
00031
00032
00033
00034 #ifndef ANAPHE_AIDA_PLOTTERLAYOUT_H
00035 #define ANAPHE_AIDA_PLOTTERLAYOUT_H
00036
00037
00038
00039 #include "AIDA/IPlotterLayout.h"
00040
00041
00042
00043 namespace Anaphe {
00044
00045 class Layout;
00046 }
00047
00048
00049
00050 namespace Anaphe {
00051 namespace AIDA_Plotter_Grace {
00052
00053
00058 class AIDA_PlotterLayout : public AIDA::IPlotterLayout
00059 {
00060 public:
00061 AIDA_PlotterLayout();
00062 AIDA_PlotterLayout(Layout*, bool ownership = true);
00063 virtual ~AIDA_PlotterLayout();
00064
00065 private:
00066 AIDA_PlotterLayout(const AIDA_PlotterLayout&);
00067 AIDA_PlotterLayout& operator=(const AIDA_PlotterLayout&);
00068
00069 public:
00070 virtual void reset();
00071 virtual bool setParameter(const std::string& paramName, double paramValue);
00072 virtual double parameterValue(const std::string& paramName);
00073 virtual std::vector<std::string> availableParameters() const;
00074
00075 void setRep(Layout&, bool ownership);
00076 Layout* theRep();
00077
00078 private:
00079 void crisis() const;
00080
00081 private:
00082 Layout* rep;
00083 bool ownRep;
00084
00085 };
00086
00087
00088
00089
00090 }
00091 }
00092
00093
00094 #endif // ANAPHE_AIDA_PLOTTERLAYOUT_H
00095