test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ProcessContext.h
Go to the documentation of this file.
1 #ifndef FWCore_ServiceRegistry_ProcessContext_h
2 #define FWCore_ServiceRegistry_ProcessContext_h
3 
15 //
16 // Original Author: W. David Dagenhart
17 // Created: 7/2/2013
18 
21 
22 #include <iosfwd>
23 #include <string>
24 
25 namespace edm {
26 
28 
29  public:
30 
32 
36  bool isSubProcess() const { return parentProcessContext_ != nullptr; }
37  ProcessContext const& parentProcessContext() const;
38 
41 
42  private:
43 
45 
46  // If this is a SubProcess this points to the parent process,
47  // otherwise it is null.
49  };
50 
51  std::ostream& operator<<(std::ostream&, ProcessContext const&);
52 }
53 #endif
std::string const & processName() const
void setParentProcessContext(ProcessContext const *parentProcessContext)
ProcessContext const & parentProcessContext() const
ProcessConfiguration const * processConfiguration() const
ParameterSetID const & parameterSetID() const
std::string const & processName() const
ParameterSetID const & parameterSetID() const
ProcessConfiguration const * processConfiguration_
void setProcessConfiguration(ProcessConfiguration const *processConfiguration)
std::ostream & operator<<(std::ostream &ost, const HLTGlobalStatus &hlt)
Formatted printout of trigger tbale.
bool isSubProcess() const
ProcessContext const * parentProcessContext_