CMS 3D CMS Logo

CoralServiceFactory.cc
Go to the documentation of this file.
3 #include "CoralKernel/Service.h"
4 
6 
7 
9 }
10 
12 }
13 
14 
17  static cond::CoralServiceFactory singleInstance_;
18  return &singleInstance_;
19 }
20 
21 coral::Service*
22 cond::CoralServiceFactory::create(const std::string& componentname) const {
23  std::unique_ptr<cond::CoralServiceWrapperBase> sp{CoralServicePluginFactory::get()->create(componentname)};
24  return sp->create(componentname);
25 }
#define EDM_REGISTER_PLUGINFACTORY(_factory_, _category_)
Definition: PluginFactory.h:86
static CoralServiceFactory * get()
coral::Service * create(const std::string &componentname) const
T get(const Candidate &c)
Definition: component.h:55