ViewFactory.h
Go to the documentation of this file.
1 /* -*- mode: c++ -*- */
2 
14 #ifndef _ViewFactory_H_
15 #define _ViewFactory_H_
16 
17 #include "pattern/libhippo.h"
18 
19 namespace hippodraw {
20 
21 class FontBase;
22 class PlotterBase;
23 class ViewBase;
24 
36 {
37 protected:
38 
43 
45  ViewFactory();
46 
47 private:
49  ViewFactory( const ViewFactory & );
50 
51 public:
52 
57  virtual ~ViewFactory () {};
58 
60  static ViewFactory * instance();
61 
63  virtual ViewBase * createView ( PlotterBase * plotter ) const = 0;
64 
67  virtual FontBase * createFont ( ) const = 0;
68 
69 };
70 
71 } // namespace hippodraw
72 
73 #endif // _ViewFactory_H_

Generated for HippoDraw Class Library by doxygen