#include <ProducerBase.h>
Public Types | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Member Functions | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Private Member Functions | |
template<typename P > | |
void | commit_ (P &iPrincipal) |
template<typename P , typename L , typename I > | |
void | commit_ (P &iPrincipal, L *iList, I *iID) |
Private Member Functions inherited from edm::ProductRegistryHelper | |
template<class ProductType > | |
TypeLabelItem const & | produces () |
declare what type of product will make and with which optional label More... | |
template<class ProductType > | |
TypeLabelItem const & | produces (std::string const &instanceName) |
template<typename ProductType , BranchType B> | |
TypeLabelItem const & | produces () |
template<typename ProductType , BranchType B> | |
TypeLabelItem const & | produces (std::string const &instanceName) |
TypeLabelItem const & | produces (const TypeID &id, std::string const &instanceName=std::string()) |
template<BranchType B> | |
TypeLabelItem const & | produces (const TypeID &id, std::string const &instanceName=std::string()) |
ProductRegistryHelper () | |
TypeLabelList & | typeLabelList () |
used by the fwk to register the list of products of this module More... | |
~ProductRegistryHelper () | |
Private Attributes | |
std::function< void(BranchDescription const &)> | callWhenNewProductsRegistered_ |
Friends | |
class | EDFilter |
class | EDProducer |
class | global::EDFilterBase |
class | global::EDProducerBase |
class | one::EDFilterBase |
class | one::EDProducerBase |
template<typename T > | |
class | stream::ProducingModuleAdaptorBase |
Additional Inherited Members | |
Private Types inherited from edm::ProductRegistryHelper | |
typedef std::list< TypeLabelItem > | TypeLabelList |
Static Private Member Functions inherited from edm::ProductRegistryHelper | |
static void | addToRegistry (TypeLabelList::const_iterator const &iBegin, TypeLabelList::const_iterator const &iEnd, ModuleDescription const &iDesc, ProductRegistry &iReg, bool iIsListener=false) |
Definition at line 34 of file ProducerBase.h.
Definition at line 36 of file ProducerBase.h.
edm::ProducerBase::ProducerBase | ( | ) |
Definition at line 15 of file ProducerBase.cc.
|
virtual |
Definition at line 16 of file ProducerBase.cc.
|
inline |
Definition at line 50 of file ProducerBase.h.
References callWhenNewProductsRegistered_, and RecoJets_EventContent_cff::func.
Referenced by edm::HadronizerFilter< HAD, DEC >::HadronizerFilter(), pat::PATTriggerEventProducer::PATTriggerEventProducer(), pat::PATTriggerProducer::PATTriggerProducer(), TriggerSummaryProducerAOD::TriggerSummaryProducerAOD(), and TriggerSummaryProducerRAW::TriggerSummaryProducerRAW().
|
inlineprivate |
Definition at line 64 of file ProducerBase.h.
Referenced by edm::EDProducer::doBeginLuminosityBlock(), edm::EDFilter::doBeginLuminosityBlock(), edm::one::EDFilterBase::doBeginLuminosityBlock(), edm::one::EDProducerBase::doBeginLuminosityBlock(), edm::global::EDFilterBase::doBeginLuminosityBlock(), edm::global::EDProducerBase::doBeginLuminosityBlock(), edm::EDProducer::doBeginRun(), edm::EDFilter::doBeginRun(), edm::one::EDFilterBase::doBeginRun(), edm::one::EDProducerBase::doBeginRun(), edm::global::EDFilterBase::doBeginRun(), edm::global::EDProducerBase::doBeginRun(), edm::EDProducer::doEndLuminosityBlock(), edm::EDFilter::doEndLuminosityBlock(), edm::one::EDFilterBase::doEndLuminosityBlock(), edm::one::EDProducerBase::doEndLuminosityBlock(), edm::global::EDFilterBase::doEndLuminosityBlock(), edm::global::EDProducerBase::doEndLuminosityBlock(), edm::EDProducer::doEndRun(), edm::EDFilter::doEndRun(), edm::one::EDFilterBase::doEndRun(), edm::one::EDProducerBase::doEndRun(), edm::global::EDFilterBase::doEndRun(), edm::global::EDProducerBase::doEndRun(), edm::EDProducer::doEvent(), edm::EDFilter::doEvent(), edm::global::EDFilterBase::doEvent(), edm::one::EDFilterBase::doEvent(), edm::one::EDProducerBase::doEvent(), and edm::global::EDProducerBase::doEvent().
|
inlineprivate |
Definition at line 69 of file ProducerBase.h.
void edm::ProducerBase::registerProducts | ( | ProducerBase * | producer, |
ProductRegistry * | iReg, | ||
ModuleDescription const & | md | ||
) |
Definition at line 60 of file ProducerBase.cc.
References edm::ProductRegistryHelper::addToRegistry(), edm::ProductRegistry::callForEachBranch(), relativeConstraints::empty, registrationCallback(), and edm::ProductRegistryHelper::typeLabelList().
Referenced by edm::EDProducer::registerProductsAndCallbacks(), edm::EDFilter::registerProductsAndCallbacks(), edm::one::EDFilterBase::registerProductsAndCallbacks(), edm::one::EDProducerBase::registerProductsAndCallbacks(), edm::global::EDFilterBase::registerProductsAndCallbacks(), and edm::global::EDProducerBase::registerProductsAndCallbacks().
std::function< void(BranchDescription const &)> edm::ProducerBase::registrationCallback | ( | ) | const |
used by the fwk to register list of products
Definition at line 18 of file ProducerBase.cc.
References callWhenNewProductsRegistered_.
Referenced by registerProducts().
|
friend |
Definition at line 56 of file ProducerBase.h.
|
friend |
Definition at line 55 of file ProducerBase.h.
|
friend |
Definition at line 60 of file ProducerBase.h.
|
friend |
Definition at line 59 of file ProducerBase.h.
|
friend |
Definition at line 58 of file ProducerBase.h.
|
friend |
Definition at line 57 of file ProducerBase.h.
|
friend |
Definition at line 61 of file ProducerBase.h.
|
private |
Definition at line 73 of file ProducerBase.h.
Referenced by callWhenNewProductsRegistered(), and registrationCallback().