File indexing completed on 2024-04-06 12:13:02
0001 #ifndef FWCore_ServiceRegistry_InternalContext_h
0002 #define FWCore_ServiceRegistry_InternalContext_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015 #include "DataFormats/Provenance/interface/EventID.h"
0016
0017 #include <iosfwd>
0018
0019 namespace edm {
0020
0021 class ModuleCallingContext;
0022
0023 class InternalContext {
0024 public:
0025 InternalContext(EventID const& eventID, ModuleCallingContext const*);
0026
0027 EventID const& eventID() const { return eventID_; }
0028 ModuleCallingContext const* moduleCallingContext() const { return moduleCallingContext_; }
0029
0030 private:
0031 EventID eventID_;
0032 ModuleCallingContext const* moduleCallingContext_;
0033 };
0034
0035 std::ostream& operator<<(std::ostream&, InternalContext const&);
0036 }
0037 #endif