COPASI API  4.16.103
COutputHandlerPlot.h
Go to the documentation of this file.
1 /* Begin CVS Header
2  $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/plotUI/COutputHandlerPlot.h,v $
3  $Revision: 1.13 $
4  $Name: $
5  $Author: shoops $
6  $Date: 2009/03/02 21:02:16 $
7  End CVS Header */
8 
9 // Copyright (C) 2008 by Pedro Mendes, Virginia Tech Intellectual
10 // Properties, Inc., EML Research, gGmbH, University of Heidelberg,
11 // and The University of Manchester.
12 // All rights reserved.
13 
14 // Copyright (C) 2001 - 2007 by Pedro Mendes, Virginia Tech Intellectual
15 // Properties, Inc. and EML Research, gGmbH.
16 // All rights reserved.
17 
18 #ifndef OUTPUT_HANDLER_PLOT
19 #define OUTPUT_HANDLER_PLOT
20 
21 #include <map>
22 
24 
26 class PlotWindow;
27 
28 /**
29  * This is used to call the plotting routines from the tasks
30  * We do not want to call gui stuff directly from the trajectory task.
31  */
33  {
34  public:
35  /**
36  * Default constructor
37  */
39 
40  /**
41  * Copy constructor
42  * @param const COutputHandlerPlot & src
43  */
45 
46  /**
47  * Destructor
48  */
49  virtual ~COutputHandlerPlot();
50 
51  /**
52  * compile the object list from name vector
53  * @param std::vector< CCopasiContainer * > listOfContainer
54  * @param const CCopasiDataModel* pDataModel
55  * @return bool success
56  */
57  virtual bool compile(std::vector< CCopasiContainer * > listOfContainer, const CCopasiDataModel* pDataModel);
58 
59  /**
60  * Perform an output event for the current activity
61  * @param const Activity & activity
62  */
63  // virtual void output(const Activity & activity);
64 
65  /**
66  * Introduce an additional separator into the output
67  * @param const Activity & activity
68  */
69  // virtual void separate(const Activity & activity);
70 
71  /**
72  * Finish the output
73  */
74  // virtual void finish();
75 
76  /**
77  * Remove an interface
78  * @param COutputInterface * pInterface;
79  */
80  virtual void removeInterface(COutputInterface * pInterface);
81 
82  void setOutputDefinitionVector(COutputDefinitionVector * pDefinitionVector);
83 
84  private:
85  /**
86  * The plot definition
87  */
89 
90  /**
91  * This maps the key of a plot spec to a plot window
92  */
93  std::map<std::string, PlotWindow*> mPlotMap;
94  };
95 
96 #endif
COutputDefinitionVector * mpDefinitionVector
std::map< std::string, PlotWindow * > mPlotMap
void setOutputDefinitionVector(COutputDefinitionVector *pDefinitionVector)
virtual bool compile(std::vector< CCopasiContainer * > listOfContainer, const CCopasiDataModel *pDataModel)
virtual void removeInterface(COutputInterface *pInterface)