00001 /* -*- mode: c++ -*- */ 00002 00014 #ifndef _PointRepFactory_H_ 00015 #define _PointRepFactory_H_ 00016 00017 #include "pattern/Factory.h" 00018 00019 namespace hippodraw { 00020 00021 class RepBase; 00022 00028 class MDL_HIPPOPLOT_API PointRepFactory : public Factory < RepBase > 00029 { 00030 00031 private: 00032 00034 static PointRepFactory * s_instance; 00035 00037 PointRepFactory ( const PointRepFactory & ); 00038 00040 PointRepFactory(); 00041 00043 void initialize (); 00044 00045 00046 public: 00047 00049 static PointRepFactory * instance (); 00050 00051 }; 00052 00053 } // namespace hippodraw 00054 00055 #endif // _PointRepFactory_H_