Go to the documentation of this file.00001 #ifndef FWCore_MessageService_MainThreadMLscribe_h
00002 #define FWCore_MessageService_MainThreadMLscribe_h
00003
00004 #include "FWCore/MessageLogger/interface/AbstractMLscribe.h"
00005 #include "FWCore/MessageLogger/interface/MessageLoggerQ.h"
00006
00007
00008
00009 #include "boost/shared_ptr.hpp"
00010
00011 #include <iosfwd>
00012 #include <vector>
00013 #include <map>
00014
00015 #include <iostream>
00016
00017 namespace edm {
00018 namespace service {
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036 class ErrorLog;
00037 class ThreadQueue;
00038
00039 class MainThreadMLscribe : public AbstractMLscribe
00040 {
00041 public:
00042
00043 MainThreadMLscribe(boost::shared_ptr<ThreadQueue> tqp);
00044 virtual ~MainThreadMLscribe();
00045
00046
00047 virtual
00048 void runCommand(MessageLoggerQ::OpCode opcode, void * operand);
00049
00050
00051
00052 static ErrorLog * getErrorLog_ptr() {return static_errorlog_p;}
00053
00054 private:
00055
00056 static ErrorLog * static_errorlog_p;
00057 boost::shared_ptr<ThreadQueue> m_queue;
00058 };
00059
00060
00061 }
00062 }
00063
00064
00065 #endif // FWCore_MessageService_MainThreadMLscribe_h