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 "boost/shared_ptr.hpp"
8 
9 #include <memory>
10 #include <vector>
11 
12 namespace edm {
13  class ActionTable;
14  class ActivityRegistry;
15  class BranchIDListHelper;
16  class CommonParams;
17  class OutputModule;
18  class ParameterSet;
19  class ProcessConfiguration;
20  class ProductRegistry;
21  class Schedule;
23 
24  struct ScheduleItems {
25  ScheduleItems();
26 
27  ScheduleItems(ProductRegistry const& preg, BranchIDListHelper const& branchIDListHelper, OutputModule const& om);
28 
29  ScheduleItems(ScheduleItems const&) = delete; // Disallow copying and moving
30  ScheduleItems& operator=(ScheduleItems const&) = delete; // Disallow copying and moving
31 
33  initServices(std::vector<ParameterSet>& servicePSets,
34  ParameterSet& processPSet,
35  ServiceToken const& iToken,
37  bool associate);
38 
40  addCPRandTNS(ParameterSet const& parameterSet, ServiceToken const& token);
41 
42  boost::shared_ptr<CommonParams>
43  initMisc(ParameterSet& parameterSet);
44 
45  std::auto_ptr<Schedule>
46  initSchedule(ParameterSet& parameterSet,
47  ParameterSet const* subProcessPSet);
48 
49  void
50  clear();
51 
52  boost::shared_ptr<ActivityRegistry> actReg_;
53  std::unique_ptr<SignallingProductRegistry> preg_;
54  boost::shared_ptr<BranchIDListHelper> branchIDListHelper_;
55  std::unique_ptr<ActionTable const> act_table_;
56  boost::shared_ptr<ProcessConfiguration> processConfiguration_;
57  };
58 }
59 
60 #endif
boost::shared_ptr< CommonParams > initMisc(ParameterSet &parameterSet)
std::unique_ptr< ActionTable const > act_table_
Definition: ScheduleItems.h:55
ScheduleItems & operator=(ScheduleItems const &)=delete
boost::shared_ptr< ProcessConfiguration > processConfiguration_
Definition: ScheduleItems.h:56
std::auto_ptr< Schedule > initSchedule(ParameterSet &parameterSet, ParameterSet const *subProcessPSet)
std::unique_ptr< SignallingProductRegistry > preg_
Definition: ScheduleItems.h:53
ServiceToken initServices(std::vector< ParameterSet > &servicePSets, ParameterSet &processPSet, ServiceToken const &iToken, serviceregistry::ServiceLegacy iLegacy, bool associate)
ServiceToken addCPRandTNS(ParameterSet const &parameterSet, ServiceToken const &token)
boost::shared_ptr< ActivityRegistry > actReg_
Definition: ScheduleItems.h:52
boost::shared_ptr< BranchIDListHelper > branchIDListHelper_
Definition: ScheduleItems.h:54