00001 /* -*- mode: c++ -*- */ 00002 00014 #ifndef _TextRepFactory_H_ 00015 #define _TextRepFactory_H_ 00016 00017 #include "pattern/Factory.h" 00018 #include "reps/RepBase.h" 00019 00020 namespace hippodraw { 00021 00027 class MDL_HIPPOPLOT_API TextRepFactory : public Factory < RepBase > 00028 { 00029 00030 private: 00031 00033 static TextRepFactory * s_instance; 00034 00036 TextRepFactory( const TextRepFactory & ); 00037 00039 void initialize (); 00040 00041 protected: 00042 00045 TextRepFactory(); 00046 00047 public: 00048 00050 static TextRepFactory * instance (); 00051 00052 }; 00053 00054 } // namespace hippodraw 00055 00056 #endif // _TextRepFactory_H_