Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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 "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
ThreadSafeLogMessageLoggerScribe
()));
29
MessageDrop::instance
()->
messageLoggerScribeIsRunning
=
30
MLSCRIBE_RUNNING_INDICATOR
;
31
}
32
33
34
SingleThreadMSPresence::~SingleThreadMSPresence
()
35
{
36
MessageLoggerQ::MLqEND
();
37
MessageLoggerQ::setMLscribe_ptr
38
(boost::shared_ptr<edm::service::AbstractMLscribe>());
39
}
40
41
}
// end of namespace service
42
}
// end of namespace edm
edm::MessageDrop::messageLoggerScribeIsRunning
static unsigned char messageLoggerScribeIsRunning
Definition:
MessageDrop.h:110
edm::MessageLoggerQ::setMLscribe_ptr
static void setMLscribe_ptr(boost::shared_ptr< edm::service::AbstractMLscribe > m)
Definition:
MessageLoggerQ.cc:140
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:121
edm::service::SingleThreadMSPresence::~SingleThreadMSPresence
~SingleThreadMSPresence()
Definition:
SingleThreadMSPresence.cc:34
edm::service::SingleThreadMSPresence::SingleThreadMSPresence
SingleThreadMSPresence()
Definition:
SingleThreadMSPresence.cc:22
MessageDrop.h
MessageLoggerQ.h
edm::MessageLoggerQ::MLqEND
static void MLqEND()
Definition:
MessageLoggerQ.cc:177
edm::service::ThreadSafeLogMessageLoggerScribe
Definition:
ThreadSafeLogMessageLoggerScribe.h:37
edm::Presence
Definition:
Presence.h:21
ThreadSafeLogMessageLoggerScribe.h
fff_monitoring.service
tuple service
Definition:
fff_monitoring.py:268
Generated for CMSSW Reference Manual by
1.8.5