00001 /* -*- mode: c++ -*- */ 00002 00014 #ifndef _PointRepFactory_H_ 00015 #define _PointRepFactory_H_ 00016 00017 #include "pattern/Factory.h" 00018 00019 class RepBase; 00020 00026 class MDL_HIPPOPLOT_API PointRepFactory : public Factory < RepBase > 00027 { 00028 00029 private: 00030 00032 static PointRepFactory * s_instance; 00033 00035 PointRepFactory ( const PointRepFactory & ); 00036 00038 PointRepFactory(); 00039 00041 void initialize (); 00042 00043 00044 public: 00045 00047 static PointRepFactory * instance (); 00048 00049 }; 00050 00051 #endif // _PointRepFactory_H_