1 #ifndef art_Framework_Core_RPManager_h 2 #define art_Framework_Core_RPManager_h 7 #include "cetlib/BasicPluginFactory.h" 21 template <
typename RET,
typename... ARGS>
28 template <
typename... ARGS>
35 std::map<std::string, std::vector<std::unique_ptr<RPWorker>>>
rpmap_;
38 template <
typename... ARGS>
42 for (
auto& path :
rpmap_) {
43 for (
auto&
w : path.second) {
44 (
w->rp().*mfunc)(std::forward<ARGS>(args)...);
std::map< std::string, std::vector< std::unique_ptr< RPWorker > > > rpmap_
std::function< void(RPWorker &)> on_rpworker_t
void for_each_RPWorker(on_rpworker_t wfunc)
RPManager(fhicl::ParameterSet const &ps)
void invoke(invoke_function_t< void, ARGS... > mfunc, ARGS &&...args)
RET(ResultsProducer::*)(ARGS...) invoke_function_t