14 #ifndef IMAGECLUSTERFACTORY_H
15 #define IMAGECLUSTERFACTORY_H
23 class ImageClusterBase;
52 {
LARCV_WARNING((*
this)) <<
"To have a factory access static object via ImageClusterFactory::get()!" << std::endl;}
65 LARCV_ERROR((*
this)) <<
"Found no registered class " << name << std::endl;
68 return (*iter).second->create(instance_name);
72 std::map<std::string,larcv::ImageClusterFactoryBase*>
_factory_map;