00001 /* -*- mode: c++ -*- 00002 * 00003 * HippoPlot PlotterFactory class interface 00004 * 00005 * Copyright (C) 2002, 2003 The Board of Trustees of The Leland Stanford 00006 * Junior University. All Rights Reserved. 00007 * 00008 * $Id: PlotterFactory.h,v 1.3 2003/01/02 19:39:04 pfkeb Exp $ 00009 * 00010 */ 00011 00012 #ifndef _PlotterFactory_H_ 00013 #define _PlotterFactory_H_ 00014 00015 #include "pattern/Factory.h" 00016 00017 class PlotterBase; 00018 00022 class MDL_HIPPOPLOT_API PlotterFactory : public Factory < PlotterBase > 00023 { 00024 00025 private: 00026 00028 static PlotterFactory * s_instance; 00029 00031 PlotterFactory ( const PlotterFactory & ); 00032 00035 PlotterFactory ( ); 00036 00038 void initialize (); 00039 00040 public: 00041 00043 static PlotterFactory * instance (); 00044 00045 }; 00046 00047 #endif // _PlotterFactory_H_