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  class ThinnedAssociationsHelper;
15  struct CommonParams;
16  class SubProcess;
17  class ParameterSet;
18  class ProcessConfiguration;
19  class ProcessContext;
20  class ProductRegistry;
21  class Schedule;
23  class StreamID;
24  class PreallocationConfiguration;
25 
26  struct ScheduleItems {
27  ScheduleItems();
28 
29  ScheduleItems(ProductRegistry const& preg, SubProcess const& om);
30 
31  ScheduleItems(ScheduleItems const&) = delete; // Disallow copying and moving
32  ScheduleItems& operator=(ScheduleItems const&) = delete; // Disallow copying and moving
33 
35  initServices(std::vector<ParameterSet>& servicePSets,
36  ParameterSet& processPSet,
37  ServiceToken const& iToken,
39  bool associate);
40 
42  addCPRandTNS(ParameterSet const& parameterSet, ServiceToken const& token);
43 
44  std::shared_ptr<CommonParams>
45  initMisc(ParameterSet& parameterSet);
46 
47  std::auto_ptr<Schedule>
48  initSchedule(ParameterSet& parameterSet,
49  ParameterSet const* subProcessPSet,
50  PreallocationConfiguration const& iAllocConfig,
51  ProcessContext const*);
52 
53  void
54  clear();
55 
56  std::shared_ptr<ActivityRegistry> actReg_;
57  std::shared_ptr<SignallingProductRegistry> preg_;
58  std::shared_ptr<BranchIDListHelper> branchIDListHelper_;
59  std::shared_ptr<ThinnedAssociationsHelper> thinnedAssociationsHelper_;
60  std::unique_ptr<ExceptionToActionTable const> act_table_;
61  std::shared_ptr<ProcessConfiguration> processConfiguration_;
62  };
63 }
64 #endif
std::shared_ptr< ActivityRegistry > actReg_
Definition: ScheduleItems.h:56
std::unique_ptr< ExceptionToActionTable const > act_table_
Definition: ScheduleItems.h:60
ScheduleItems & operator=(ScheduleItems const &)=delete
std::shared_ptr< ProcessConfiguration > processConfiguration_
Definition: ScheduleItems.h:61
std::shared_ptr< CommonParams > initMisc(ParameterSet &parameterSet)
std::shared_ptr< SignallingProductRegistry > preg_
Definition: ScheduleItems.h:57
std::shared_ptr< ThinnedAssociationsHelper > thinnedAssociationsHelper_
Definition: ScheduleItems.h:59
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:58
preg
Definition: Schedule.cc:369
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