1 #ifndef FWCore_Framework_EventSetupProvider_h
2 #define FWCore_Framework_EventSetupProvider_h
25 #include "boost/shared_ptr.hpp"
39 namespace eventsetup {
70 void add(boost::shared_ptr<DataProxyProvider>);
71 void add(boost::shared_ptr<EventSetupRecordIntervalFinder>);
84 void insert(std::auto_ptr<T> iRecordProvider) {
85 std::auto_ptr<EventSetupRecordProvider>
temp(iRecordProvider.release());
87 typename T::RecordType,
101 typedef std::map<EventSetupRecordKey, boost::shared_ptr<EventSetupRecordProvider> >
Providers;
106 std::auto_ptr<std::vector<boost::shared_ptr<EventSetupRecordIntervalFinder> > >
finders_;
107 std::auto_ptr<std::vector<boost::shared_ptr<DataProxyProvider> > >
dataProviders_;
EventSetup const & eventSetupForInstance(IOVSyncValue const &)
void finishConfiguration()
std::auto_ptr< PreferredProviderInfo > preferredProviderInfo_
EventSetupProvider(PreferredProviderInfo const *iInfo=0)
EventSetupProvider const & operator=(EventSetupProvider const &)
std::auto_ptr< std::vector< boost::shared_ptr< EventSetupRecordIntervalFinder > > > finders_
void forceCacheClear()
Used when testing that all code properly updates on IOV changes of all Records.
bool mustFinishConfiguration_
std::multimap< RecordName, DataKeyInfo > RecordToDataMap
void resetRecordPlusDependentRecords(EventSetupRecordKey const &)
Used when we need to force a Record to reset all its proxies.
void insert(std::auto_ptr< T > iRecordProvider)
void addRecordToEventSetup(EventSetupRecord &iRecord)
std::auto_ptr< std::vector< boost::shared_ptr< DataProxyProvider > > > dataProviders_
std::map< ComponentDescription, RecordToDataMap > PreferredProviderInfo
void add(boost::shared_ptr< DataProxyProvider >)
virtual ~EventSetupProvider()
EventSetup const & eventSetup() const
std::map< EventSetupRecordKey, boost::shared_ptr< EventSetupRecordProvider > > Providers
std::pair< DataType, DataLabel > DataKeyInfo
Key makeKey(const IdTag &)
std::set< ComponentDescription > proxyProviderDescriptions() const