27 std::string moduleName = conf.
getParameter<std::string>(
"@module_type");
31 "Error occurred while validating and registering configuration\n");
32 toThrow <<
"for module of type \'" << moduleName <<
"\' with label \'" << moduleLabel <<
"\'\n";
33 toThrow.append(iException);
39 sigc::signal<void, ModuleDescription const&>& post,
42 toThrow <<
"for module of type \'"<<md.
moduleName() <<
"\' with label \'" << md.
moduleLabel() <<
"'\n";
43 toThrow.
append(iException);
51 if(edmType != expected) {
54 <<
"' is of type " << edmType <<
", but declared in the configuration as " << expected <<
".\n"
55 <<
"Please replace " << expected <<
" with " << edmType <<
" in the appropriate configuration file(s).\n";
62 sigc::signal<void, ModuleDescription const&>& pre,
63 sigc::signal<void, ModuleDescription const&>& post)
const {
76 std::auto_ptr<Worker> worker;
T getParameter(std::string const &) const
void append(Exception const &another)
void throwValidationException(WorkerParams const &p, cms::Exception const &iException) const
ParameterSetID id() const
std::string const & moduleName() const
std::auto_ptr< Worker > makeWorker(WorkerParams const &, sigc::signal< void, ModuleDescription const & > &iPre, sigc::signal< void, ModuleDescription const & > &iPost) const
virtual const std::string & baseType() const =0
void swapModule(Worker *, ParameterSet const &)
std::string const & moduleLabel() const
void validateEDMType(std::string const &edmType, WorkerParams const &p) const
virtual void implSwapModule(Worker *, ParameterSet const &)=0
ModuleDescription createModuleDescription(WorkerParams const &p) const
virtual void fillDescriptions(ConfigurationDescriptions &iDesc) const =0
void throwConfigurationException(ModuleDescription const &md, sigc::signal< void, ModuleDescription const & > &post, cms::Exception const &iException) const
boost::shared_ptr< ProcessConfiguration const > processConfiguration_
void validate(ParameterSet &pset, std::string const &moduleLabel) const
ParameterSet const & registerIt()
const std::string * moduleLabel() const