Public Member Functions | |
void | productList (ProductList *p) |
void | registerProducts (MasterProductRegistry &mpr, ProductDescriptions &productsToRegister, ModuleDescription const &md) |
template<typename P , BranchType B = InEvent> | |
void | produces (std::string const &instanceName={}, Persistable const persistable=Persistable::Yes) |
template<typename P , BranchType B> | |
TypeLabel const & | reconstitutes (std::string const &modLabel, std::string const &instanceName={}) |
template<BranchType B> | |
std::set< TypeLabel > const & | expectedProducts () const |
template<typename P , art::BranchType B> | |
art::TypeLabel const & | reconstitutes (std::string const &emulatedModule, std::string const &instanceName) |
Private Member Functions | |
TypeLabel const & | insertOrThrow (BranchType const bt, TypeLabel const &tl) |
Private Attributes | |
std::array< std::set< TypeLabel >, NumBranchTypes > | typeLabelList_ |
std::unique_ptr< ProductList > | productList_ |
Definition at line 81 of file ProductRegistryHelper.h.
|
inline |
Definition at line 111 of file ProductRegistryHelper.h.
References typeLabelList_.
|
inlineprivate |
Definition at line 118 of file ProductRegistryHelper.h.
References art::TypeLabel::friendlyClassName(), art::errors::LogicError, art::TypeLabel::productInstanceName(), fillBadChanDBTables::result, and typeLabelList_.
Referenced by produces(), and reconstitutes().
|
inline |
Definition at line 141 of file ProductRegistryHelper.h.
References insertOrThrow(), art::No, P, art::detail::verifyFriendlyClassName(), and art::detail::verifyInstanceName().
Referenced by caf::CAFMaker::CAFMaker(), art::MixHelper::produces(), and productList().
|
inline |
Definition at line 86 of file ProductRegistryHelper.h.
References fetch_tb_beamline_files::md, produces(), productList_, reconstitutes(), registerProducts(), string, and art::Yes.
TypeLabel const& art::ProductRegistryHelper::reconstitutes | ( | std::string const & | modLabel, |
std::string const & | instanceName = {} |
||
) |
Referenced by daq2raw::BeamlineRawInputDriver::BeamlineRawInputDriver(), lem::GenFromLib::GenFromLib(), novaddt::NovaDDTRawInputDriver::NovaDDTRawInputDriver(), daq2raw::NOvARawInputDriver::NOvARawInputDriver(), daq2raw::NOvASocketInputDriver::NOvASocketInputDriver(), productList(), and daq2raw::TestBeamRawInputDriver::TestBeamRawInputDriver().
art::TypeLabel const& art::ProductRegistryHelper::reconstitutes | ( | std::string const & | emulatedModule, |
std::string const & | instanceName | ||
) |
Definition at line 155 of file ProductRegistryHelper.h.
References insertOrThrow(), P, art::detail::verifyFriendlyClassName(), and art::detail::verifyInstanceName().
void art::ProductRegistryHelper::registerProducts | ( | MasterProductRegistry & | mpr, |
ProductDescriptions & | productsToRegister, | ||
ModuleDescription const & | md | ||
) |
|
private |
Definition at line 136 of file ProductRegistryHelper.h.
Referenced by productList().
|
private |
Definition at line 131 of file ProductRegistryHelper.h.
Referenced by expectedProducts(), and insertOrThrow().