#include <ProducerBase.h>
Public Types | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Member Functions | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
boost::function< void(const BranchDescription &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Protected Member Functions | |
template<class TProducer , class TMethod > | |
void | callWhenNewProductsRegistered (TProducer *iProd, TMethod iMethod) |
Private Attributes | |
boost::function< void(const BranchDescription &)> | callWhenNewProductsRegistered_ |
Additional Inherited Members | |
Private Types inherited from edm::ProductRegistryHelper | |
typedef std::list< TypeLabelItem > | TypeLabelList |
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 () | |
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 18 of file ProducerBase.h.
Definition at line 20 of file ProducerBase.h.
edm::ProducerBase::ProducerBase | ( | ) |
Definition at line 15 of file ProducerBase.cc.
|
virtual |
Definition at line 16 of file ProducerBase.cc.
|
inlineprotected |
Definition at line 36 of file ProducerBase.h.
References callWhenNewProductsRegistered_.
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::registerAnyProducts(), and edm::EDFilter::registerAnyProducts().
boost::function< void(const BranchDescription &)> 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().
|
private |
Definition at line 41 of file ProducerBase.h.
Referenced by callWhenNewProductsRegistered(), and registrationCallback().