CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_7/src/FWCore/Framework/src/LooperFactory.cc

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // Package:     Framework
00004 // Class  :     LooperFactory
00005 // 
00006 // Implementation:
00007 //     <Notes on implementation>
00008 //
00009 // Author:      Chris Jones
00010 // Created:     Wed May 25 19:27:37 EDT 2005
00011 // $Id: LooperFactory.cc,v 1.5 2012/06/06 15:51:21 wdd Exp $
00012 //
00013 
00014 // system include files
00015 
00016 // user include files
00017 #include "FWCore/Framework/interface/LooperFactory.h"
00018 
00019 //
00020 // static member functions
00021 //
00022 namespace edm {
00023    namespace eventsetup {
00024       std::string LooperMakerTraits::name() { return "CMS EDM Framework EDLooper"; }
00025       
00026       void 
00027       LooperMakerTraits::replaceExisting(EventSetupProvider& iProvider, boost::shared_ptr<EDLooperBase> iComponent) {
00028          throw edm::Exception(edm::errors::LogicError)
00029             << "LooperMakerTraits::replaceExisting\n"
00030             << "This function is not implemented and should never be called.\n"
00031             << "Please report this to a Framework Developer\n";
00032       }
00033 
00034       boost::shared_ptr<LooperMakerTraits::base_type>
00035       LooperMakerTraits::getComponentAndRegisterProcess(EventSetupsController&,
00036                                                         ParameterSet const&) {
00037         return boost::shared_ptr<LooperMakerTraits::base_type>();
00038       }
00039 
00040       void LooperMakerTraits::putComponent(EventSetupsController&,
00041                                            ParameterSet const&,
00042                                            boost::shared_ptr<base_type> const&) {
00043       }
00044    }
00045 }
00046 
00047 COMPONENTFACTORY_GET(edm::eventsetup::LooperMakerTraits);