00001 #ifndef FWCore_Framework_EventSetupsController_h 00002 #define FWCore_Framework_EventSetupsController_h 00003 // -*- C++ -*- 00004 // 00005 // Package: Framework 00006 // Class : EventSetupsController 00007 // 00016 // 00017 // Original Author: Chris Jones 00018 // Created: Wed Jan 12 14:30:42 CST 2011 00019 // 00020 00021 // user include files 00022 00023 // system include files 00024 #include <boost/shared_ptr.hpp> 00025 00026 #include <vector> 00027 00028 // forward declarations 00029 namespace edm { 00030 struct CommonParams; 00031 class ParameterSet; 00032 00033 namespace eventsetup { 00034 class EventSetupProvider; 00035 00036 class EventSetupsController { 00037 00038 public: 00039 EventSetupsController(); 00040 //virtual ~EventSetupsController(); 00041 00042 // ---------- const member functions --------------------- 00043 00044 // ---------- static member functions -------------------- 00045 00046 // ---------- member functions --------------------------- 00047 boost::shared_ptr<EventSetupProvider> makeProvider(ParameterSet&, CommonParams const&); 00048 00049 private: 00050 EventSetupsController(EventSetupsController const&); // stop default 00051 00052 EventSetupsController const& operator=(EventSetupsController const&); // stop default 00053 00054 // ---------- member data -------------------------------- 00055 std::vector<boost::shared_ptr<EventSetupProvider> > providers_; 00056 }; 00057 } 00058 } 00059 #endif