CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes
edm::ConstProductRegistry Class Reference

#include <ConstProductRegistry.h>

Public Types

typedef
ProductRegistry::ProductList 
ProductList
 

Public Member Functions

std::vector< BranchDescription
const * > 
allBranchDescriptions () const
 
std::vector< std::string > allBranchNames () const
 
bool anyProductProduced () const
 
 ConstProductRegistry (SignallingProductRegistry &iReg)
 
ProductList const & productList () const
 
ProductRegistry const & productRegistry () const
 
template<class T >
void watchProductAdditions (const T &iFunc)
 
template<class T , class TMethod >
void watchProductAdditions (T &iObj, TMethod iMethod)
 

Private Member Functions

 ConstProductRegistry (const ConstProductRegistry &)
 
const ConstProductRegistryoperator= (const ConstProductRegistry &)
 

Private Attributes

SignallingProductRegistryreg_
 

Detailed Description

Definition at line 32 of file ConstProductRegistry.h.

Member Typedef Documentation

Definition at line 36 of file ConstProductRegistry.h.

Constructor & Destructor Documentation

edm::ConstProductRegistry::ConstProductRegistry ( SignallingProductRegistry iReg)
inline

Definition at line 38 of file ConstProductRegistry.h.

38 : reg_(&iReg) { }
SignallingProductRegistry * reg_
edm::ConstProductRegistry::ConstProductRegistry ( const ConstProductRegistry )
private

Member Function Documentation

std::vector<BranchDescription const*> edm::ConstProductRegistry::allBranchDescriptions ( ) const
inline

Definition at line 54 of file ConstProductRegistry.h.

References edm::ProductRegistry::allBranchDescriptions(), and reg_.

Referenced by ShallowTree::beginJob(), and edm::getAllBranchDescriptions().

54 {return reg_->allBranchDescriptions();}
std::vector< BranchDescription const * > allBranchDescriptions() const
SignallingProductRegistry * reg_
std::vector<std::string> edm::ConstProductRegistry::allBranchNames ( ) const
inline

Definition at line 48 of file ConstProductRegistry.h.

References edm::ProductRegistry::allBranchNames(), and reg_.

48 {return reg_->allBranchNames();}
std::vector< std::string > allBranchNames() const
SignallingProductRegistry * reg_
bool edm::ConstProductRegistry::anyProductProduced ( ) const
inline

Definition at line 56 of file ConstProductRegistry.h.

References edm::ProductRegistry::anyProductProduced(), and reg_.

56 {return reg_->anyProductProduced();}
bool anyProductProduced() const
SignallingProductRegistry * reg_
const ConstProductRegistry& edm::ConstProductRegistry::operator= ( const ConstProductRegistry )
private
ProductList const& edm::ConstProductRegistry::productList ( ) const
inline

Definition at line 43 of file ConstProductRegistry.h.

References edm::ProductRegistry::productList(), and reg_.

Referenced by EcalTrigPrimProducer::beginJob(), and edm::HiMixingModule::verifyRegistry().

43 {return reg_->productList();}
ProductList const & productList() const
SignallingProductRegistry * reg_
ProductRegistry const& edm::ConstProductRegistry::productRegistry ( ) const
inline

Definition at line 41 of file ConstProductRegistry.h.

References reg_.

41 {return *reg_;}
SignallingProductRegistry * reg_
template<class T >
void edm::ConstProductRegistry::watchProductAdditions ( const T &  iFunc)
inline

Definition at line 59 of file ConstProductRegistry.h.

References edm::serviceregistry::connect_but_block_self(), edm::SignallingProductRegistry::productAddedSignal_, and reg_.

60  {
62  iFunc);
63  }
sigc::signal< void, BranchDescription const & > productAddedSignal_
SignallingProductRegistry * reg_
void connect_but_block_self(Signal &oSignal, const Func &iFunc)
template<class T , class TMethod >
void edm::ConstProductRegistry::watchProductAdditions ( T &  iObj,
TMethod  iMethod 
)
inline

Definition at line 65 of file ConstProductRegistry.h.

References edm::serviceregistry::connect_but_block_self(), edm::SignallingProductRegistry::productAddedSignal_, and reg_.

66  {
68  boost::bind(iMethod, iObj,_1));
69  }
sigc::signal< void, BranchDescription const & > productAddedSignal_
SignallingProductRegistry * reg_
void connect_but_block_self(Signal &oSignal, const Func &iFunc)

Member Data Documentation

SignallingProductRegistry* edm::ConstProductRegistry::reg_
private