CMS 3D CMS Logo

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 {
24 
26  ProductRegistry& reg,
27  PreallocationConfiguration const* prealloc,
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
roAction_t actions[nactions]
Definition: GenABIO.cc:181
ParameterSet * pset_
Definition: WorkerParams.h:36
#define nullptr
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
HLT enums.