CMS 3D CMS Logo

Presence.h
Go to the documentation of this file.
1 #ifndef FWCore_Utilities_Presence_h
2 #define FWCore_Utilities_Presence_h
3 
4 // -*- C++ -*-
5 
6 /*
7  An interface class defining a presence. A presence is an object that an
8  executable can instantiate at an early time in order to initialize
9  various things. The destructor
10  takes action to terminate the artifacts of the run() method.
11 
12  The prototypical use of this is to establish the MessageServicePresence.
13  That class appears in MessageService, which is a plugin. By using this
14  abstract class, we can arrange that cmsRun, in Framework, has no link
15  dependency on MessageService. Instead, the MessageServicePresence is
16  dynamically (run-time) loaded.
17 */
18 
19 namespace edm {
20 
21  class Presence {
22  public:
23  Presence() {}
24  virtual ~Presence() = 0;
25  };
26 } // namespace edm
27 #endif // FWCore_Utilities_Presence_h
virtual ~Presence()=0
Definition: Presence.cc:7
HLT enums.