#include "MasterProductRegistry.h"
Definition at line 47 of file MasterProductRegistry.h.
art::MasterProductRegistry::MasterProductRegistry |
( |
| ) |
|
|
explicitdefault |
Definition at line 73 of file MasterProductRegistry.cc.
References art::errors::Configuration, and art::errors::ProductRegistrationFailure.
Referenced by productProduced().
75 CET_ASSERT_ONLY_ONE_THREAD();
82 <<
"An attempt to register the product\n" 83 << bdp <<
"was made after the product registry was frozen.\n" 84 <<
"Product registration can be done only in module constructors.\n";
93 <<
" was previously used on these products.\n" 94 <<
"Please modify the configuration file to use a " 95 <<
"distinct process name.\n";
97 auto& productListEntry = *it.first;
98 auto& pd = productListEntry.second;
bool allowExplicitRegistration_
std::array< bool, NumBranchTypes > productProduced_
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
std::string const & processName() const
void art::MasterProductRegistry::finalizeForProcessing |
( |
| ) |
|
void art::MasterProductRegistry::print |
( |
std::ostream & |
os | ) |
const |
auto const& art::MasterProductRegistry::productList |
( |
| ) |
const |
|
inline |
bool art::MasterProductRegistry::productProduced |
( |
BranchType |
branchType | ) |
const |
|
inline |
Definition at line 53 of file MasterProductRegistry.cc.
56 CET_ASSERT_ONLY_ONE_THREAD();
std::vector< ProductListUpdatedCallback > productListUpdatedCallbacks_
auto art::MasterProductRegistry::size |
( |
void |
| ) |
const |
|
inline |
void art::MasterProductRegistry::updateFromInputFile |
( |
ProductList const & |
pl | ) |
|
Definition at line 44 of file MasterProductRegistry.cc.
46 CET_ASSERT_ONLY_ONE_THREAD();
49 [
this](
auto const& callback) { callback(
productList_); });
void updateProductLists_(ProductList const &pl)
std::vector< ProductListUpdatedCallback > productListUpdatedCallbacks_
void art::MasterProductRegistry::updateFromModule |
( |
std::unique_ptr< ProductList > && |
pl | ) |
|
void art::MasterProductRegistry::updateProductLists_ |
( |
ProductList const & |
pl | ) |
|
|
private |
Definition at line 104 of file MasterProductRegistry.cc.
References art::combinable().
Referenced by productProduced().
106 for (
auto const& val : pl) {
107 auto const& pd = val.second;
108 assert(!pd.produced());
116 auto& found_pd = it->second;
bool combinable(BranchDescription const &a, BranchDescription const &b)
bool art::MasterProductRegistry::allowExplicitRegistration_ {true} |
|
private |
ProductList art::MasterProductRegistry::productList_ {} |
|
private |
std::array<bool, NumBranchTypes> art::MasterProductRegistry::productProduced_ |
|
private |
The documentation for this class was generated from the following files: