1 #ifndef Framework_DataProxyProvider_h
2 #define Framework_DataProxyProvider_h
26 #include "boost/shared_ptr.hpp"
37 namespace eventsetup {
45 typedef std::vector< EventSetupRecordKey>
Keys;
46 typedef std::vector<std::pair<
DataKey,
108 template<
class ProxyT>
110 boost::shared_ptr<ProxyT> iProxy,
111 const char* iName=
"") {
113 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_
void invalidateProxies(const EventSetupRecordKey &iRecordKey)
std::vector< std::pair< DataKey, boost::shared_ptr< DataProxy > > > KeyedProxies
void insertProxy(DataProxyProvider::KeyedProxies &iList, boost::shared_ptr< ProxyT > iProxy, const char *iName="")
void resetProxies(const EventSetupRecordKey &iRecordType)
const ComponentDescription & description() const
Container::value_type value_type
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 &)
const DataProxyProvider & operator=(const DataProxyProvider &)
ComponentDescription description_
virtual ~DataProxyProvider()
std::string appendToDataLabel_