CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ELcontextSupplier.h
Go to the documentation of this file.
1 #ifndef FWCore_MessageService_ELcontextSupplier_h
2 #define FWCore_MessageService_ELcontextSupplier_h
3 
4 
5 // ----------------------------------------------------------------------
6 //
7 // ELcontextSupplier a class with a few (pure virtual) methods to
8 // provides strings for summary, ordinary, and
9 // more verbose full constexts. The context is
10 // meant to convey framework-wide info, such as
11 // current run and event.
12 //
13 //
14 // THIS HEADER FILE DEFINES AN INTERFACE AND IS INCLUDED IN
15 // FRAMEWORK CODE THAT OUGHT NOT TO BE FORCED TO RECOMPILE
16 // UNNECESSARILY.
17 //
18 // THEREFORE, CHANGES IN THIS FILE SHOULD BE AVOIDED IF POSSIBLE.
19 //
20 // 7/7/98 mf Created file.
21 // 7/14/98 pgc Renamed from ELcontextSupplier to ELcontextSupplier
22 // 9/8/98 web Minor touch-ups
23 // 12/20/99 mf Added virtual destructor.
24 //
25 // ----------------------------------------------------------------------
26 
27 
30 
31 namespace edm {
32 namespace service {
33 
34 // ----------------------------------------------------------------------
35 // ELcontextSupplier:
36 // ----------------------------------------------------------------------
37 
39 
40 public:
41  virtual ELcontextSupplier * clone() const = 0;
42  virtual ELstring context() const = 0;
43  virtual ELstring summaryContext() const = 0;
44  virtual ELstring fullContext() const = 0;
45 
46  virtual void editErrorObj( edm::ErrorObj & ) const { }
47  virtual edm::ELstring traceRoutine( ) const { return edm::ELstring(""); }
48 
49  virtual ~ELcontextSupplier() { ; }
50 
51 }; // ELcontextSupplier
52 
53 
54 // ----------------------------------------------------------------------
55 
56 
57 } // end of namespace service
58 } // end of namespace edm
59 
60 
61 #endif // FWCore_MessageService_ELcontextSupplier_h
virtual void editErrorObj(edm::ErrorObj &) const
virtual ELstring fullContext() const =0
virtual edm::ELstring traceRoutine() const
virtual ELstring context() const =0
virtual ELcontextSupplier * clone() const =0
std::string ELstring
Definition: ELstring.h:26
virtual ELstring summaryContext() const =0