CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ModuleFactory.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: Framework
4 // Class : ModuleFactory
5 //
6 // Implementation:
7 // <Notes on implementation>
8 //
9 // Author: Chris Jones
10 // Created: Wed May 25 19:27:44 EDT 2005
11 // $Id: ModuleFactory.cc,v 1.6 2012/04/16 15:43:50 wdd Exp $
12 //
13 
14 // system include files
15 
16 // user include files
19 
20 //
21 // constants, enums and typedefs
22 //
23 namespace edm {
24  namespace eventsetup {
25 
26 //
27 // static member functions
28 //
29  std::string ModuleMakerTraits::name() { return "CMS EDM Framework ESModule"; }
30  void ModuleMakerTraits::addTo(EventSetupProvider& iProvider, boost::shared_ptr<DataProxyProvider> iComponent)
31  {
32  iProvider.add(iComponent);
33  }
34 
35  boost::shared_ptr<ModuleMakerTraits::base_type> const*
37  ParameterSet const&) {
38  return 0;
39  }
40 
42  ParameterSet const&,
43  boost::shared_ptr<base_type> const&) {
44  }
45  }
46 }
static void addTo(EventSetupProvider &iProvider, boost::shared_ptr< DataProxyProvider > iComponent)
#define COMPONENTFACTORY_GET(_type_)
void add(boost::shared_ptr< DataProxyProvider >)
static boost::shared_ptr< base_type > const * getAlreadyMadeComponent(EventSetupsController const &esController, ParameterSet const &iConfiguration)
static void putComponent(EventSetupsController &esController, ParameterSet const &iConfiguration, boost::shared_ptr< base_type > const &component)