CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
WorkerParams.h
Go to the documentation of this file.
1 #ifndef FWCore_Framework_WorkerParams_h
2 #define FWCore_Framework_WorkerParams_h
3 
11 
12 #include <memory>
13 
14 #include <string>
15 
16 namespace edm {
17  class ProcessConfiguration;
18  class ProductRegistry;
19  class ExceptionToActionTable;
20  class PreallocationConfiguration;
21 
22  struct WorkerParams {
23  WorkerParams() : pset_(nullptr), reg_(nullptr), preallocate_(nullptr), processConfiguration_(), actions_(nullptr) {}
24 
26  ProductRegistry& reg,
28  std::shared_ptr<ProcessConfiguration const> processConfiguration,
30  : pset_(pset),
31  reg_(&reg),
32  preallocate_(prealloc),
33  processConfiguration_(processConfiguration),
34  actions_(&actions) {}
35 
39  std::shared_ptr<ProcessConfiguration const> processConfiguration_;
41  };
42 } // namespace edm
43 
44 #endif
PreallocationConfiguration const * preallocate_
Definition: WorkerParams.h:38
ParameterSet * pset_
Definition: WorkerParams.h:36
processConfiguration
Definition: Schedule.cc:687
actions
Definition: Schedule.cc:687
WorkerParams(ParameterSet *pset, ProductRegistry &reg, PreallocationConfiguration const *prealloc, std::shared_ptr< ProcessConfiguration const > processConfiguration, ExceptionToActionTable const &actions)
Definition: WorkerParams.h:25
ExceptionToActionTable const * actions_
Definition: WorkerParams.h:40
ProductRegistry * reg_
Definition: WorkerParams.h:37
std::shared_ptr< ProcessConfiguration const > processConfiguration_
Definition: WorkerParams.h:39
prealloc
Definition: Schedule.cc:687