CARMA C++
CarmaDisplay.h
1 #ifndef CARMA_UI_RTD_CARMADISPLAY_H
2 #define CARMA_UI_RTD_CARMADISPLAY_H
3 
4 
5 /*
6  * @file
7  *
8  * Class that defines all of the realtime windows for carma.
9  *
10  * @author Steve Scott
11  *
12  * $CarmaCopyright$
13  *
14  */
15 
16 
17 #include <carma/ui/rtd/common/WindowList.h>
18 #include <carma/ui/rtd/common/RtDisplay.h>
19 
20 #include <boost/shared_ptr.hpp>
21 
22 namespace carma {
23 namespace ui {
24 namespace rtd {
25 
26 
27 class RtMenu;
28 typedef boost::shared_ptr<RtMenu> RtMenuPtr;
29 
30 
33  public:
34  virtual ~CarmaWindows( );
35 
36  virtual void load( );
37 };
38 
39 
40 
41 class CarmaDisplay : public carma::ui::rtd::RtDisplay {
42  public:
51  CarmaDisplay( const ::std::string & subtitle,
52  const char * ut,
53  const char * lst,
54  bool visibleTimePanel = true );
55 
62  CarmaDisplay( const ::std::string & subtitle,
63  bool visibleTimePanel = true );
64 
68  virtual ~CarmaDisplay( );
69 
70  private:
71  RtMenuPtr makeMenu( );
72 
73  void init( const ::std::string& subtitle );
74  };
75 
76 
77 } // namespace carma::ui::rtd
78 } // namespace carma::ui
79 } // namespace carma
80 
81 
82 #endif
Class to define the specific set of windows and code words for Carma.
Definition: CarmaDisplay.h:32
Realtime display - the whole enchilada.
Definition: RtDisplay.h:2315
virtual void load()
Pure virtual - define it with a bunch of statements like: add(new Window(&quot;demo&quot;, &quot;demoprogramName&quot;));.
A list of all possible windows on a system and methods to find them.
Definition: WindowList.h:174