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 // $Id: ScheduleInfo.h,v 1.1 2010/07/22 15:00:27 chrjones Exp $
20 //
21 
22 // system include files
23 #include <vector>
24 #include <string>
25 
26 // user include files
27 
28 // forward declarations
29 namespace edm {
30  class ParameterSet;
31  class Schedule;
32 
33  class ScheduleInfo {
34 
35  public:
36  ScheduleInfo(const Schedule*);
37  virtual ~ScheduleInfo();
38 
39  // ---------- const member functions ---------------------
40 
42  void availableModuleLabels(std::vector<std::string>& oLabelsToFill) const;
43 
47  const edm::ParameterSet* parametersForModule(const std::string& iLabel) const;
48 
50  void availablePaths( std::vector<std::string>& oLabelsToFill) const;
51 
53  void modulesInPath(const std::string& iPathLabel,
54  std::vector<std::string>& oLabelsToFill) const;
55  // ---------- static member functions --------------------
56 
57  // ---------- member functions ---------------------------
58 
59  private:
60  //ScheduleInfo(const ScheduleInfo&); // stop default
61 
62  //const ScheduleInfo& operator=(const ScheduleInfo&); // stop default
63 
64  // ---------- member data --------------------------------
66 
67  };
68 
69 }
70 
71 #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:48
ScheduleInfo(const Schedule *)
Definition: ScheduleInfo.cc:38
const edm::ParameterSet * parametersForModule(const std::string &iLabel) const
Definition: ScheduleInfo.cc:83
void availablePaths(std::vector< std::string > &oLabelsToFill) const
adds to oLabelsToFill the labels for all paths in the process
Definition: ScheduleInfo.cc:99
const Schedule * schedule_
Definition: ScheduleInfo.h:65
void availableModuleLabels(std::vector< std::string > &oLabelsToFill) const
adds to oLabelsToFill the labels for all modules used in the process
Definition: ScheduleInfo.cc:72