CMS 3D CMS Logo

MessageDrop.h
Go to the documentation of this file.
1 #ifndef MessageLogger_MessageDrop_h
2 #define MessageLogger_MessageDrop_h
3 
4 // -*- C++ -*-
5 //
6 // Package: MessageLogger
7 // Class : MessageDrop
8 //
18 //
19 // Original Author: M. Fischler and Jim Kowalkowski
20 // Created: Tues Feb 14 16:38:19 CST 2006
21 //
22 
23 // Framework include files
24 
25 #include "FWCore/Utilities/interface/EDMException.h" // change log 4
28 
29 // system include files
30 
31 #include <string>
32 #include <string_view>
33 
34 // user include files
35 
36 namespace edm {
37 
38  namespace messagedrop {
39  class StringProducer;
41  class StringProducerPath;
43  } // namespace messagedrop
44 
45  struct MessageDrop {
46  private:
47  MessageDrop();
48 
49  public:
50  MessageDrop(MessageDrop const&) = delete;
51  MessageDrop& operator=(MessageDrop const&) = delete;
52 
53  ~MessageDrop();
54  static MessageDrop* instance();
56  void setModuleWithPhase(std::string const& name, std::string const& label, unsigned int moduleID, const char* phase);
57  void setPath(const char* type, std::string const& pathname);
58  void setSinglet(const char* sing);
59  void clear();
60 
61  std::string_view runEvent;
62  unsigned int streamID;
68 
75 
76  private:
81  };
82 
83  static const unsigned char MLSCRIBE_RUNNING_INDICATOR = 29;
84 
85 } // end of namespace edm
86 
87 #endif // MessageLogger_MessageDrop_h
static unsigned char messageLoggerScribeIsRunning
Definition: MessageDrop.h:70
void setModuleWithPhase(std::string const &name, std::string const &label, unsigned int moduleID, const char *phase)
Definition: MessageDrop.cc:155
static MessageDrop * instance()
Definition: MessageDrop.cc:33
static std::string jobMode
Definition: MessageDrop.h:69
messagedrop::StringProducer const * moduleNameProducer
Definition: MessageDrop.h:80
void setSinglet(const char *sing)
Definition: MessageDrop.cc:168
static const unsigned char MLSCRIBE_RUNNING_INDICATOR
Definition: MessageDrop.h:83
static bool debugAlwaysSuppressed
Definition: MessageDrop.h:71
char const * label
edm::propagate_const< messagedrop::StringProducerWithPhase * > spWithPhase
Definition: MessageDrop.h:77
edm::propagate_const< messagedrop::StringProducerSinglet * > spSinglet
Definition: MessageDrop.h:79
unsigned int streamID
Definition: MessageDrop.h:62
#define CMS_THREAD_SAFE
MessageDrop & operator=(MessageDrop const &)=delete
std::string moduleContext()
Definition: MessageDrop.cc:173
static bool warningAlwaysSuppressed
Definition: MessageDrop.h:74
edm::propagate_const< messagedrop::StringProducerPath * > spPath
Definition: MessageDrop.h:78
static bool fwkInfoAlwaysSuppressed
Definition: MessageDrop.h:73
HLT enums.
std::string_view runEvent
Definition: MessageDrop.h:61
void setPath(const char *type, std::string const &pathname)
Definition: MessageDrop.cc:163
static bool infoAlwaysSuppressed
Definition: MessageDrop.h:72