Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
FWCore
MessageService
src
SingleThreadMSPresence.cc
Go to the documentation of this file.
1
// ----------------------------------------------------------------------
2
//
3
// SingleThreadMSPresence.cc
4
//
5
// Changes:
6
//
7
//
8
9
#include "
FWCore/MessageService/interface/SingleThreadMSPresence.h
"
10
#include "
FWCore/MessageService/interface/MessageLoggerScribe.h
"
11
12
#include "
FWCore/MessageLogger/interface/MessageLoggerQ.h
"
13
#include "
FWCore/MessageLogger/interface/MessageDrop.h
"
14
15
#include "boost/shared_ptr.hpp"
16
17
18
namespace
edm {
19
namespace
service {
20
21
22
SingleThreadMSPresence::SingleThreadMSPresence
()
23
:
Presence
()
24
{
25
//std::cout << "SingleThreadMSPresence ctor\n";
26
MessageLoggerQ::setMLscribe_ptr
(
27
boost::shared_ptr<edm::service::AbstractMLscribe>
28
(
new
MessageLoggerScribe
(
29
boost::shared_ptr<ThreadQueue>())));
30
MessageDrop::instance
()->
messageLoggerScribeIsRunning
=
31
MLSCRIBE_RUNNING_INDICATOR
;
32
}
33
34
35
SingleThreadMSPresence::~SingleThreadMSPresence
()
36
{
37
MessageLoggerQ::MLqEND
();
38
MessageLoggerQ::setMLscribe_ptr
39
(boost::shared_ptr<edm::service::AbstractMLscribe>());
40
}
41
42
}
// end of namespace service
43
}
// end of namespace edm
edm::MessageDrop::messageLoggerScribeIsRunning
static unsigned char messageLoggerScribeIsRunning
Definition:
MessageDrop.h:109
edm::MessageLoggerQ::setMLscribe_ptr
static void setMLscribe_ptr(boost::shared_ptr< edm::service::AbstractMLscribe > m)
Definition:
MessageLoggerQ.cc:141
MessageLoggerScribe.h
SingleThreadMSPresence.h
edm::MessageDrop::instance
static MessageDrop * instance()
Definition:
MessageDrop.cc:65
edm::MLSCRIBE_RUNNING_INDICATOR
static const unsigned char MLSCRIBE_RUNNING_INDICATOR
Definition:
MessageDrop.h:121
edm::service::SingleThreadMSPresence::~SingleThreadMSPresence
~SingleThreadMSPresence()
Definition:
SingleThreadMSPresence.cc:35
edm::service::SingleThreadMSPresence::SingleThreadMSPresence
SingleThreadMSPresence()
Definition:
SingleThreadMSPresence.cc:22
MessageDrop.h
MessageLoggerQ.h
edm::MessageLoggerQ::MLqEND
static void MLqEND()
Definition:
MessageLoggerQ.cc:178
edm::Presence
Definition:
Presence.h:21
edm::service::MessageLoggerScribe
Definition:
MessageLoggerScribe.h:86
Generated for CMSSW Reference Manual by
1.8.5