CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions
cond::CoralServiceFactory Class Reference

#include <CoralServiceFactory.h>

Public Member Functions

coral::Service * create (const std::string &componentname) const
 
 ~CoralServiceFactory ()
 

Static Public Member Functions

static CoralServiceFactoryget ()
 

Private Member Functions

 CoralServiceFactory ()
 

Detailed Description

Definition at line 27 of file CoralServiceFactory.h.

Constructor & Destructor Documentation

CoralServiceFactory::~CoralServiceFactory ( )

Definition at line 8 of file CoralServiceFactory.cc.

8  {
9 }
CoralServiceFactory::CoralServiceFactory ( )
private

Definition at line 11 of file CoralServiceFactory.cc.

11  {
12 }

Member Function Documentation

coral::Service * CoralServiceFactory::create ( const std::string &  componentname) const

Definition at line 22 of file CoralServiceFactory.cc.

References reco::get().

Referenced by o2olib.O2OTool::execute(), and cond::CoralServiceManager::newComponent().

22  {
23  std::unique_ptr<cond::CoralServiceWrapperBase> sp{CoralServicePluginFactory::get()->create(componentname)};
24  return sp->create(componentname);
25 }
T get(const Candidate &c)
Definition: component.h:55
cond::CoralServiceFactory * CoralServiceFactory::get ( )
static