#include <WorkerMaker.h>
Public Member Functions | |
WorkerMaker () | |
Private Member Functions | |
virtual const std::string & | baseType () const |
virtual void | fillDescriptions (ConfigurationDescriptions &iDesc) const |
virtual void | implSwapModule (Worker *, ParameterSet const &) |
virtual std::unique_ptr< Worker > | makeWorker (WorkerParams const &p, ModuleDescription const &md) const |
Definition at line 45 of file WorkerMaker.h.
edm::WorkerMaker< T >::WorkerMaker | ( | ) | [explicit] |
Definition at line 57 of file WorkerMaker.h.
{ }
const std::string & edm::WorkerMaker< T >::baseType | ( | ) | const [private, virtual] |
void edm::WorkerMaker< T >::fillDescriptions | ( | ConfigurationDescriptions & | iDesc | ) | const [private, virtual] |
Implements edm::Maker.
Definition at line 61 of file WorkerMaker.h.
{ T::fillDescriptions(iDesc); T::prevalidate(iDesc); }
void edm::WorkerMaker< T >::implSwapModule | ( | Worker * | w, |
ParameterSet const & | p | ||
) | [private, virtual] |
Implements edm::Maker.
Definition at line 78 of file WorkerMaker.h.
References edm::Worker::description(), python::rootplot::argparse::module, AlCaHLTBitMon_ParallelJobs::p, svgfig::template(), and w().
{ typedef T UserType; typedef typename UserType::ModuleType ModuleType; typedef typename UserType::WorkerType WorkerType; WorkerType* wt = dynamic_cast<WorkerType*>(w); assert(0!=wt); std::unique_ptr<ModuleType> module(WorkerType::template makeModule<UserType>(w->description(), p)); wt->setModule(std::move(module)); }
std::unique_ptr< Worker > edm::WorkerMaker< T >::makeWorker | ( | WorkerParams const & | p, |
ModuleDescription const & | md | ||
) | const [private, virtual] |
Implements edm::Maker.
Definition at line 67 of file WorkerMaker.h.
References python::rootplot::argparse::module, edm::WorkerParams::pset_, and svgfig::template().