1 #ifndef Framework_DataProxyProvider_h 2 #define Framework_DataProxyProvider_h 39 namespace eventsetup {
45 typedef std::vector<EventSetupRecordKey>
Keys;
46 typedef std::vector<std::pair<DataKey, edm::propagate_const<std::shared_ptr<DataProxy>>>>
KeyedProxies;
108 template <
class ProxyT>
110 std::shared_ptr<ProxyT> iProxy,
111 const char* iName =
"") {
113 DataKey(DataKey::makeTypeTag<typename ProxyT::value_type>(), iName), iProxy));
void resetProxiesIfTransient(const EventSetupRecordKey &iRecordType)
std::vector< EventSetupRecordKey > Keys
virtual ~DataProxyProvider() noexcept(false)
const KeyedProxies & keyedProxies(const EventSetupRecordKey &iRecordKey) const
void setDescription(const ComponentDescription &iDescription)
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)
virtual void updateLookup(ESRecordsToProxyIndices const &)
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_
std::string appendToDataLabel_