CMS 3D CMS Logo

LooperFactory.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: Framework
4 // Class : LooperFactory
5 //
6 // Implementation:
7 // <Notes on implementation>
8 //
9 // Author: Chris Jones
10 // Created: Wed May 25 19:27:37 EDT 2005
11 //
12 
13 // system include files
14 
15 // user include files
17 
18 //
19 // static member functions
20 //
21 namespace edm {
22  namespace eventsetup {
23  std::string LooperMakerTraits::name() { return "CMS EDM Framework EDLooper"; }
24 
25  void LooperMakerTraits::replaceExisting(EventSetupProvider&, std::shared_ptr<EDLooperBase>) {
26  throw edm::Exception(edm::errors::LogicError) << "LooperMakerTraits::replaceExisting\n"
27  << "This function is not implemented and should never be called.\n"
28  << "Please report this to a Framework Developer\n";
29  }
30 
31  std::shared_ptr<LooperMakerTraits::base_type> LooperMakerTraits::getComponentAndRegisterProcess(
33  return std::shared_ptr<LooperMakerTraits::base_type>();
34  }
35 
37  ParameterSet const&,
38  std::shared_ptr<base_type> const&) {}
39  } // namespace eventsetup
40 } // namespace edm
41 
static std::shared_ptr< base_type > getComponentAndRegisterProcess(EventSetupsController &esController, ParameterSet const &iConfiguration)
static void putComponent(EventSetupsController &esController, ParameterSet const &iConfiguration, std::shared_ptr< base_type > const &component)
static void replaceExisting(EventSetupProvider &iProvider, std::shared_ptr< EDLooperBase > iComponent)
HLT enums.
#define COMPONENTFACTORY_GET(_type_)