#include <ESProxyFactoryProducer.h>
Public Member Functions | |
ESProxyFactoryProducer () | |
virtual void | newInterval (const eventsetup::EventSetupRecordKey &iRecordType, const ValidityInterval &iInterval) |
overrides DataProxyProvider method More... | |
virtual | ~ESProxyFactoryProducer () |
Public Member Functions inherited from edm::eventsetup::DataProxyProvider | |
DataProxyProvider () | |
const ComponentDescription & | description () const |
bool | isUsingRecord (const EventSetupRecordKey &) const |
const KeyedProxies & | keyedProxies (const EventSetupRecordKey &iRecordKey) const |
void | resetProxies (const EventSetupRecordKey &iRecordType) |
void | resetProxiesIfTransient (const EventSetupRecordKey &iRecordType) |
void | setAppendToDataLabel (const edm::ParameterSet &) |
void | setDescription (const ComponentDescription &iDescription) |
std::set< EventSetupRecordKey > | usingRecords () const |
virtual | ~DataProxyProvider () |
Protected Member Functions | |
template<class TFactory > | |
void | registerFactory (std::auto_ptr< TFactory > iFactory, const std::string &iLabel=std::string()) |
virtual void | registerFactoryWithKey (const eventsetup::EventSetupRecordKey &iRecord, std::auto_ptr< eventsetup::ProxyFactoryBase > &iFactory, const std::string &iLabel=std::string()) |
virtual void | registerProxies (const eventsetup::EventSetupRecordKey &iRecord, KeyedProxies &aProxyList) |
override DataProxyProvider method More... | |
Protected Member Functions inherited from edm::eventsetup::DataProxyProvider | |
void | eraseAll (const EventSetupRecordKey &iRecordKey) |
deletes all the Proxies in aStream More... | |
void | invalidateProxies (const EventSetupRecordKey &iRecordKey) |
template<class T > | |
void | usingRecord () |
void | usingRecordWithKey (const EventSetupRecordKey &) |
Private Member Functions | |
ESProxyFactoryProducer (const ESProxyFactoryProducer &) | |
const ESProxyFactoryProducer & | operator= (const ESProxyFactoryProducer &) |
Private Attributes | |
std::multimap < eventsetup::EventSetupRecordKey, eventsetup::FactoryInfo > | record2Factories_ |
Additional Inherited Members | |
Public Types inherited from edm::eventsetup::DataProxyProvider | |
typedef std::vector< std::pair < DataKey, boost::shared_ptr < DataProxy > > > | KeyedProxies |
typedef std::vector < EventSetupRecordKey > | Keys |
typedef std::map < EventSetupRecordKey, KeyedProxies > | RecordProxies |
Static Public Member Functions inherited from edm::eventsetup::DataProxyProvider | |
static void | prevalidate (ConfigurationDescriptions &) |
Definition at line 79 of file ESProxyFactoryProducer.h.
ESProxyFactoryProducer::ESProxyFactoryProducer | ( | ) |
Definition at line 38 of file ESProxyFactoryProducer.cc.
|
virtual |
Definition at line 47 of file ESProxyFactoryProducer.cc.
|
private |
|
virtual |
overrides DataProxyProvider method
Implements edm::eventsetup::DataProxyProvider.
Definition at line 117 of file ESProxyFactoryProducer.cc.
References edm::eventsetup::DataProxyProvider::invalidateProxies().
|
private |
|
inlineprotected |
iFactory | auto_ptr holding a new instance of a Factory |
iLabel | extra string label used to get data (optional) Producer takes ownership of the Factory and uses it create the appropriate Proxy which is then registered with the EventSetup. If used, this method should be called in inheriting class' constructor. |
Definition at line 107 of file ESProxyFactoryProducer.h.
References registerFactoryWithKey(), and groupFilesInBlocks::temp.
Referenced by edm::ESProducer::registerProduct().
|
protectedvirtual |
Reimplemented in edm::ESProducerLooper.
Definition at line 83 of file ESProxyFactoryProducer.cc.
References assert(), edm::hlt::Exception, cmsRelvalreport::exit, info(), record2Factories_, edm::second(), groupFilesInBlocks::temp, and edm::eventsetup::DataProxyProvider::usingRecordWithKey().
Referenced by registerFactory(), and edm::ESProducerLooper::registerFactoryWithKey().
|
protectedvirtual |
override DataProxyProvider method
Implements edm::eventsetup::DataProxyProvider.
Definition at line 67 of file ESProxyFactoryProducer.cc.
References record2Factories_.
|
private |
Definition at line 127 of file ESProxyFactoryProducer.h.
Referenced by registerFactoryWithKey(), and registerProxies().