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_INFO_H
00035 #define ANAPHE_AIDA_INFO_H
00036
00037
00038 #include "AIDA/IInfo.h"
00039
00040
00041 namespace Anaphe {
00042
00043 class LegendBox;
00044 }
00045
00046
00047
00048 namespace Anaphe {
00049 namespace AIDA_Plotter_Grace {
00050
00051
00052
00053
00058 class AIDA_Info : public AIDA::IInfo
00059 {
00060 public:
00061 AIDA_Info();
00062 AIDA_Info(LegendBox*, bool ownership = true);
00063 virtual ~AIDA_Info();
00064
00065 private:
00066 AIDA_Info(const AIDA_Info&);
00067 AIDA_Info& operator=(const AIDA_Info&);
00068
00069 public:
00070 virtual void clear();
00071 virtual void addText(const std::string& text);
00072 virtual void addLegend(const AIDA::IMarkerStyle& style, const std::string & description);
00073 virtual void addLegend(const AIDA::ILineStyle& style, const std::string & description);
00074 virtual void addLegend(const AIDA::IFillStyle& style, const std::string & description);
00075
00076 LegendBox* theRep();
00077 void setRep(LegendBox&, bool ownership);
00078
00079 private:
00080 void crisis();
00081
00082 private:
00083 LegendBox* rep;
00084 bool ownRep;
00085
00086 };
00087
00088
00089
00090 }
00091 }
00092
00093
00094 #endif // ANAPHE_AIDA_INFO_H
00095