00001 #ifndef SimG4Core_ComponentBuilder_H 00002 #define SimG4Core_ComponentBuilder_H 00003 00004 #include <string> 00005 00006 template <class C,class T> class ComponentBuilder 00007 { 00008 public: 00009 virtual C * constructComponent(T) = 0; 00010 virtual std::string myName() = 0; 00011 }; 00012 00013 #endif 00014