Go to the documentation of this file.00001 #ifndef Framework_WorkerParams_h
00002 #define Framework_WorkerParams_h
00003
00010 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00011
00012 #include "boost/shared_ptr.hpp"
00013
00014 #include <string>
00015
00016 namespace edm {
00017 class ProcessConfiguration;
00018 class ProductRegistry;
00019 class ActionTable;
00020
00021 struct WorkerParams {
00022 WorkerParams() :
00023 procPset_(0), pset_(0), reg_(0), processConfiguration_(), actions_(0)
00024 {}
00025
00026 WorkerParams(ParameterSet const& procPset,
00027 ParameterSet* pset,
00028 ProductRegistry& reg,
00029 boost::shared_ptr<ProcessConfiguration const> processConfiguration,
00030 ActionTable const& actions) :
00031 procPset_(&procPset),
00032 pset_(pset),
00033 reg_(®),
00034 processConfiguration_(processConfiguration),
00035 actions_(&actions) {}
00036
00037 ParameterSet const* procPset_;
00038 ParameterSet* pset_;
00039 ProductRegistry* reg_;
00040 boost::shared_ptr<ProcessConfiguration const> processConfiguration_;
00041 ActionTable const* actions_;
00042 };
00043 }
00044
00045 #endif