CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_7/src/FWCore/Framework/src/WorkerParams.h

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_(nullptr), pset_(nullptr), reg_(nullptr), processConfiguration_(), actions_(nullptr)
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_(&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