CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 
34  public:
35  ScheduleInfo(const Schedule*);
36  virtual ~ScheduleInfo();
37 
38  // ---------- const member functions ---------------------
39 
41  void availableModuleLabels(std::vector<std::string>& oLabelsToFill) const;
42 
46  const edm::ParameterSet* parametersForModule(const std::string& iLabel) const;
47 
49  void availablePaths( std::vector<std::string>& oLabelsToFill) const;
50 
52  void modulesInPath(const std::string& iPathLabel,
53  std::vector<std::string>& oLabelsToFill) const;
54  // ---------- static member functions --------------------
55 
56  // ---------- member functions ---------------------------
57 
58  private:
59  //ScheduleInfo(const ScheduleInfo&); // stop default
60 
61  //const ScheduleInfo& operator=(const ScheduleInfo&); // stop default
62 
63  // ---------- member data --------------------------------
65 
66  };
67 
68 }
69 
70 #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 ...
virtual ~ScheduleInfo()
Definition: ScheduleInfo.cc:47
ScheduleInfo(const Schedule *)
Definition: ScheduleInfo.cc:37
const edm::ParameterSet * parametersForModule(const std::string &iLabel) const
Definition: ScheduleInfo.cc:82
void availablePaths(std::vector< std::string > &oLabelsToFill) const
adds to oLabelsToFill the labels for all paths in the process
Definition: ScheduleInfo.cc:98
const Schedule * schedule_
Definition: ScheduleInfo.h:64
void availableModuleLabels(std::vector< std::string > &oLabelsToFill) const
adds to oLabelsToFill the labels for all modules used in the process
Definition: ScheduleInfo.cc:71