10 ModuleBase::ModuleBase() = default;
12 ModuleDescription const&
15 if (md_.has_value()) {
20 "There was an error while calling moduleDescription().\n"}
21 <<
"The moduleDescription() base-class member function cannot be called\n" 22 "during module construction. To determine which module is " 24 "for calling it, find the '<module type>:<module " 25 "label>@Construction'\n" 26 "tag in the message prefix above. Please contact artists@fnal.gov\n" 36 std::unique_ptr<Worker>
ConsumesCollector collector_
ConsumesCollector & consumesCollector()
void sortConsumables(std::string const ¤t_process_name)
std::array< std::vector< ProductInfo >, NumBranchTypes > const & getConsumables() const
void setModuleDescription(ModuleDescription const &)
virtual ~ModuleBase() noexcept
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
virtual std::unique_ptr< Worker > doMakeWorker(WorkerParams const &wp)=0
std::array< std::vector< ProductInfo >, NumBranchTypes > const & getConsumables() const
std::unique_ptr< Worker > makeWorker(WorkerParams const &wp)
std::optional< ModuleDescription > md_
void sortConsumables(std::string const ¤t_process_name)