CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CoralServiceManager.cc
Go to the documentation of this file.
1 #include "CoralKernel/Service.h"
2 #include "CoralKernel/ILoadableComponent.h"
7 coral::ILoadableComponent*
9  return cond::CoralServiceFactory::get()->create(componentname);
10 }
11 
12 std::set<std::string>
14  std::vector<edmplugin::PluginInfo> pinfo=cond::CoralServicePluginFactory::get()->available();
15  std::set<std::string> r;
16  std::vector<edmplugin::PluginInfo>::iterator i;
17  std::vector<edmplugin::PluginInfo>::iterator ibeg=pinfo.begin();
18  std::vector<edmplugin::PluginInfo>::iterator iend=pinfo.end();
19  for(i=ibeg;i<iend;++i){
20  r.insert(i->name_);
21  }
22  return r;
23 }
int i
Definition: DBlmapReader.cc:9
virtual coral::ILoadableComponent * newComponent(const std::string &componentName)
static CoralServiceFactory * get()
virtual std::set< std::string > knownPlugins() const
Returns the list of known components.
coral::Service * create(const std::string &componentname) const
T get(const Candidate &c)
Definition: component.h:55