LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "RPManager.h"
Public Types | |
template<typename RET , typename... ARGS> | |
using | invoke_function_t = RET(ResultsProducer::*)(ARGS...) |
using | on_rpworker_t = std::function< void(RPWorker &)> |
Public Member Functions | |
RPManager (fhicl::ParameterSet const &ps) | |
template<typename... ARGS> | |
void | invoke (invoke_function_t< void, ARGS... > mfunc, ARGS &&...args) |
void | for_each_RPWorker (on_rpworker_t wfunc) |
Private Attributes | |
std::map< std::string, std::vector< std::unique_ptr< RPWorker > > > | rpmap_ |
Definition at line 19 of file RPManager.h.
using art::RPManager::invoke_function_t = RET (ResultsProducer::*)(ARGS...) |
Definition at line 22 of file RPManager.h.
using art::RPManager::on_rpworker_t = std::function<void(RPWorker&)> |
Definition at line 24 of file RPManager.h.
art::RPManager::RPManager | ( | fhicl::ParameterSet const & | ps | ) |
Definition at line 21 of file RPManager.cc.
References art::errors::Configuration, fhicl::ParameterSet::get(), fhicl::ParameterSet::get_names(), fhicl::ParameterSet::id(), art::Suffixes::plugin(), rpmap_, util::to_string(), value, and lar::dump::vector().
void art::RPManager::for_each_RPWorker | ( | on_rpworker_t | wfunc | ) |
Definition at line 114 of file RPManager.cc.
void art::RPManager::invoke | ( | invoke_function_t< void, ARGS... > | mfunc, |
ARGS &&... | args | ||
) |
Definition at line 40 of file RPManager.h.
|
private |
Definition at line 35 of file RPManager.h.
Referenced by for_each_RPWorker(), invoke(), and RPManager().