Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:13:02

0001 #ifndef FWCore_ServiceRegistry_PlaceInPathContext_h
0002 #define FWCore_ServiceRegistry_PlaceInPathContext_h
0003 
0004 /**\class edm::PlaceInPathContext
0005 
0006  Description: Holds context information to indentify
0007  the position within a sequence of modules in a path.
0008 */
0009 //
0010 // Original Author: W. David Dagenhart
0011 //         Created: 7/31/2013
0012 
0013 #include <iosfwd>
0014 
0015 namespace edm {
0016 
0017   class PathContext;
0018 
0019   class PlaceInPathContext {
0020   public:
0021     PlaceInPathContext(unsigned int);
0022 
0023     unsigned int placeInPath() const { return placeInPath_; }
0024     PathContext const* pathContext() const { return pathContext_; }
0025 
0026     void setPathContext(PathContext const* v) { pathContext_ = v; }
0027 
0028   private:
0029     unsigned int placeInPath_;
0030     PathContext const* pathContext_;
0031   };
0032 
0033   std::ostream& operator<<(std::ostream&, PlaceInPathContext const&);
0034 }  // namespace edm
0035 #endif