Main Page
Namespaces
Classes
Package Documentation
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/ThreadSafeLogMessageLoggerScribe.h
"
11
12
#include "
FWCore/MessageLogger/interface/MessageLoggerQ.h
"
13
#include "
FWCore/MessageLogger/interface/MessageDrop.h
"
14
15
#include <memory>
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
(std::shared_ptr<edm::service::AbstractMLscribe>(std::make_shared<ThreadSafeLogMessageLoggerScribe>()));
27
MessageDrop::instance
()->
messageLoggerScribeIsRunning
=
28
MLSCRIBE_RUNNING_INDICATOR
;
29
}
30
31
32
SingleThreadMSPresence::~SingleThreadMSPresence
()
33
{
34
MessageLoggerQ::MLqEND
();
35
MessageLoggerQ::setMLscribe_ptr
36
(std::shared_ptr<edm::service::AbstractMLscribe>());
37
}
38
39
}
// end of namespace service
40
}
// end of namespace edm
edm::MessageDrop::messageLoggerScribeIsRunning
static unsigned char messageLoggerScribeIsRunning
Definition:
MessageDrop.h:111
SingleThreadMSPresence.h
edm::MessageDrop::instance
static MessageDrop * instance()
Definition:
MessageDrop.cc:60
edm::MLSCRIBE_RUNNING_INDICATOR
static const unsigned char MLSCRIBE_RUNNING_INDICATOR
Definition:
MessageDrop.h:122
edm::service::SingleThreadMSPresence::SingleThreadMSPresence
SingleThreadMSPresence()
Definition:
SingleThreadMSPresence.cc:22
MessageDrop.h
service
Definition:
service.py:1
MessageLoggerQ.h
edm::MessageLoggerQ::MLqEND
static void MLqEND()
Definition:
MessageLoggerQ.cc:177
edm::MessageLoggerQ::setMLscribe_ptr
static void setMLscribe_ptr(std::shared_ptr< edm::service::AbstractMLscribe > m)
Definition:
MessageLoggerQ.cc:140
edm::service::SingleThreadMSPresence::~SingleThreadMSPresence
~SingleThreadMSPresence() override
Definition:
SingleThreadMSPresence.cc:32
edm
HLT enums.
Definition:
AlignableModifier.h:17
edm::Presence
Definition:
Presence.h:21
ThreadSafeLogMessageLoggerScribe.h
Generated for CMSSW Reference Manual by
1.8.11