CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ScheduleInfo.h
Go to the documentation of this file.
1 #ifndef FWCore_Framework_ScheduleInfo_h
2 #define FWCore_Framework_ScheduleInfo_h
3 // -*- C++ -*-
4 //
5 // Package: Framework
6 // Class : ScheduleInfo
7 //
16 //
17 // Original Author: Chris Jones
18 // Created: Thu Jul 15 19:39:56 CEST 2010
19 //
20 
21 // system include files
22 #include <vector>
23 #include <string>
24 
25 // user include files
26 
27 // forward declarations
28 namespace edm {
29  class ParameterSet;
30  class Schedule;
31 
32  class ScheduleInfo {
33  public:
34  ScheduleInfo(const Schedule*);
35  virtual ~ScheduleInfo();
36 
37  // ---------- const member functions ---------------------
38 
40  void availableModuleLabels(std::vector<std::string>& oLabelsToFill) const;
41 
45  const edm::ParameterSet* parametersForModule(const std::string& iLabel) const;
46 
48  void availablePaths(std::vector<std::string>& oLabelsToFill) const;
49 
51  void modulesInPath(const std::string& iPathLabel, std::vector<std::string>& oLabelsToFill) const;
52  // ---------- static member functions --------------------
53 
54  // ---------- member functions ---------------------------
55 
56  private:
57  //ScheduleInfo(const ScheduleInfo&); // stop default
58 
59  //const ScheduleInfo& operator=(const ScheduleInfo&); // stop default
60 
61  // ---------- member data --------------------------------
63  };
64 
65 } // namespace edm
66 
67 #endif
void modulesInPath(const std::string &iPathLabel, std::vector< std::string > &oLabelsToFill) const
add to oLabelsToFill in execution order the labels of all modules in path iPathLabel ...
Definition: ScheduleInfo.cc:91
virtual ~ScheduleInfo()
Definition: ScheduleInfo.cc:43
ScheduleInfo(const Schedule *)
Definition: ScheduleInfo.cc:36
const edm::ParameterSet * parametersForModule(const std::string &iLabel) const
Definition: ScheduleInfo.cc:73
void availablePaths(std::vector< std::string > &oLabelsToFill) const
adds to oLabelsToFill the labels for all paths in the process
Definition: ScheduleInfo.cc:87
const Schedule * schedule_
Definition: ScheduleInfo.h:62
void availableModuleLabels(std::vector< std::string > &oLabelsToFill) const
adds to oLabelsToFill the labels for all modules used in the process
Definition: ScheduleInfo.cc:64