CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ScheduleItems.h
Go to the documentation of this file.
1 #ifndef FWCore_Framework_ScheduleItems_h
2 #define FWCore_Framework_ScheduleItems_h
3 
6 
7 #include <memory>
8 #include <vector>
9 
10 namespace edm {
11  class ExceptionToActionTable;
12  class ActivityRegistry;
13  class BranchIDListHelper;
14  struct CommonParams;
15  class SubProcess;
16  class ParameterSet;
17  class ProcessConfiguration;
18  class ProcessContext;
19  class ProductRegistry;
20  class Schedule;
22  class StreamID;
23  class PreallocationConfiguration;
24 
25  struct ScheduleItems {
26  ScheduleItems();
27 
28  ScheduleItems(ProductRegistry const& preg, SubProcess const& om);
29 
30  ScheduleItems(ScheduleItems const&) = delete; // Disallow copying and moving
31  ScheduleItems& operator=(ScheduleItems const&) = delete; // Disallow copying and moving
32 
34  initServices(std::vector<ParameterSet>& servicePSets,
35  ParameterSet& processPSet,
36  ServiceToken const& iToken,
38  bool associate);
39 
41  addCPRandTNS(ParameterSet const& parameterSet, ServiceToken const& token);
42 
43  std::shared_ptr<CommonParams>
44  initMisc(ParameterSet& parameterSet);
45 
46  std::auto_ptr<Schedule>
47  initSchedule(ParameterSet& parameterSet,
48  ParameterSet const* subProcessPSet,
49  PreallocationConfiguration const& iAllocConfig,
50  ProcessContext const*);
51 
52  void
53  clear();
54 
55  std::shared_ptr<ActivityRegistry> actReg_;
56  std::unique_ptr<SignallingProductRegistry> preg_;
57  std::shared_ptr<BranchIDListHelper> branchIDListHelper_;
58  std::unique_ptr<ExceptionToActionTable const> act_table_;
59  std::shared_ptr<ProcessConfiguration> processConfiguration_;
60  };
61 }
62 
63 #endif
std::shared_ptr< ActivityRegistry > actReg_
Definition: ScheduleItems.h:55
std::unique_ptr< ExceptionToActionTable const > act_table_
Definition: ScheduleItems.h:58
ScheduleItems & operator=(ScheduleItems const &)=delete
std::shared_ptr< ProcessConfiguration > processConfiguration_
Definition: ScheduleItems.h:59
std::shared_ptr< CommonParams > initMisc(ParameterSet &parameterSet)
std::unique_ptr< SignallingProductRegistry > preg_
Definition: ScheduleItems.h:56
ServiceToken initServices(std::vector< ParameterSet > &servicePSets, ParameterSet &processPSet, ServiceToken const &iToken, serviceregistry::ServiceLegacy iLegacy, bool associate)
ServiceToken addCPRandTNS(ParameterSet const &parameterSet, ServiceToken const &token)
std::shared_ptr< BranchIDListHelper > branchIDListHelper_
Definition: ScheduleItems.h:57
preg
Definition: Schedule.cc:368
std::auto_ptr< Schedule > initSchedule(ParameterSet &parameterSet, ParameterSet const *subProcessPSet, PreallocationConfiguration const &iAllocConfig, ProcessContext const *)
ParameterSet const & parameterSet(Provenance const &provenance)
Definition: Provenance.cc:11