FOX/ObjCryst++  1.10.X (development)
wxTrackerGraph.h
1 /* ObjCryst++ Object-Oriented Crystallographic Library
2  (c) 2005- Vincent Favre-Nicolin vincefn@users.sourceforge.net
3 
4  This program is free software; you can redistribute it and/or modify
5  it under the terms of the GNU General Public License as published by
6  the Free Software Foundation; either version 2 of the License, or
7  (at your option) any later version.
8 
9  This program is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  GNU General Public License for more details.
13 
14  You should have received a copy of the GNU General Public License
15  along with this program; if not, write to the Free Software
16  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 */
18 
19 #ifndef _WX_WXTRACKER_H_
20 #define _WX_WXTRACKER_H_
21 
22 #include <map>
23 
24 #include "wx/wxprec.h"
25 
26 #ifdef __BORLANDC__
27  #pragma hdrstop
28 #endif
29 #ifndef WX_PRECOMP
30  #include "wx/wx.h"
31 #endif
32 
33 namespace ObjCryst
34 {
35 class WXTrackerGraph;
36 } //namespace
37 
38 #include "ObjCryst/wxCryst/wxMultiGraph.h"
39 #include "ObjCryst/RefinableObj/Tracker.h"
40 
41 namespace ObjCryst
42 {
43 
45 {
46  public:
47  WXTrackerGraph(wxFrame *frame, MainTracker *tracker);
48  virtual ~WXTrackerGraph();
50  virtual void UpdateDisplay();
51  virtual void DeleteGraph(const unsigned long id);
52  private:
53  MainTracker *mpMainTracker;
54  std::map<Tracker*,long> mvId;
59 };
60 
61 
62 }//namespace
63 #endif
We need to record exactly when refinable objects have been modified for the last time (to avoid re-co...
Definition: RefinableObj.h:138
virtual void UpdateDisplay()
reads new values from the MainTracker, and asks for a repaint.
RefinableObjClock mClockGraphValues
Last time values were added to the graph.
virtual void DeleteGraph(const unsigned long id)
Remove graph.
A class to hold all trackers.
Definition: Tracker.h:68
RefinableObjClock mClockGraphList
Last time a tracker was added to the graph.
The namespace which includes all objects (crystallographic and algorithmic) in ObjCryst++.
Definition: Atom.cpp:47