1 #ifndef Framework_DataProxyProvider_h
2 #define Framework_DataProxyProvider_h
39 namespace eventsetup {
47 typedef std::vector< EventSetupRecordKey>
Keys;
48 typedef std::vector<std::pair<DataKey, edm::propagate_const<std::shared_ptr<DataProxy>>>>
KeyedProxies;
112 template<
class ProxyT>
114 std::shared_ptr<ProxyT> iProxy,
115 const char* iName=
"") {
117 DataKey(DataKey::makeTypeTag<typename ProxyT::value_type>(),
void resetProxiesIfTransient(const EventSetupRecordKey &iRecordType)
const KeyedProxies & keyedProxies(const EventSetupRecordKey &iRecordKey) const
void setDescription(const ComponentDescription &iDescription)
std::vector< EventSetupRecordKey > Keys
bool isUsingRecord(const EventSetupRecordKey &) const
virtual void registerProxies(const EventSetupRecordKey &iRecordKey, KeyedProxies &aProxyList)=0
std::map< EventSetupRecordKey, KeyedProxies > RecordProxies
void eraseAll(const EventSetupRecordKey &iRecordKey)
deletes all the Proxies in aStream
void usingRecordWithKey(const EventSetupRecordKey &)
RecordProxies recordProxies_
std::vector< std::pair< DataKey, edm::propagate_const< std::shared_ptr< DataProxy > > > > KeyedProxies
Container::value_type value_type
void invalidateProxies(const EventSetupRecordKey &iRecordKey)
static void prevalidate(ConfigurationDescriptions &)
void resetProxies(const EventSetupRecordKey &iRecordType)
const ComponentDescription & description() const
std::set< EventSetupRecordKey > usingRecords() const
virtual void newInterval(const EventSetupRecordKey &iRecordType, const ValidityInterval &iInterval)=0
called when a new interval of validity occurs for iRecordType
void setAppendToDataLabel(const edm::ParameterSet &)
void insertProxy(DataProxyProvider::KeyedProxies &iList, std::shared_ptr< ProxyT > iProxy, const char *iName="")
const DataProxyProvider & operator=(const DataProxyProvider &)
ComponentDescription description_
virtual ~DataProxyProvider()
std::string appendToDataLabel_