Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
FWCore
MessageLogger
src
SilentMLscribe.cc
Go to the documentation of this file.
1
// -*- C++ -*-
2
//
3
// Package: MessageLogger
4
// Class : SilentMLscribe
5
//
6
// Implementation:
7
// <Notes on implementation>
8
//
9
// Original Author: Chris Jones
10
// Created: Thu Jul 30 09:57:57 CDT 2009
11
//
12
13
// system include files
14
15
// user include files
16
#include "
FWCore/MessageLogger/interface/SilentMLscribe.h
"
17
#include "
FWCore/MessageLogger/interface/ErrorObj.h
"
18
19
namespace
edm {
20
namespace
service
{
21
22
//
23
// constants, enums and typedefs
24
//
25
26
//
27
// static data member definitions
28
//
29
30
//
31
// constructors and destructor
32
//
33
SilentMLscribe::SilentMLscribe
()
34
{
35
}
36
37
// SilentMLscribe::SilentMLscribe(const SilentMLscribe& rhs)
38
// {
39
// // do actual copying here;
40
// }
41
42
SilentMLscribe::~SilentMLscribe
()
43
{
44
}
45
46
//
47
// assignment operators
48
//
49
// const SilentMLscribe& SilentMLscribe::operator=(const SilentMLscribe& rhs)
50
// {
51
// //An exception safe implementation is
52
// SilentMLscribe temp(rhs);
53
// swap(rhs);
54
//
55
// return *this;
56
// }
57
58
//
59
// member functions
60
//
61
void
62
SilentMLscribe::runCommand
(
MessageLoggerQ::OpCode
opcode,
void
* operand) {
63
//even though we don't print, have to clean up memory
64
switch
(opcode) {
65
case
MessageLoggerQ::LOG_A_MESSAGE
: {
66
ErrorObj
* errorobj_p =
static_cast<
ErrorObj
*
>
(operand);
67
delete
errorobj_p;
68
break
;
69
}
70
case
MessageLoggerQ::JOBMODE
:
71
case
MessageLoggerQ::GROUP_STATS
:
72
{
73
std::string
* string_p =
static_cast<
std::string
*
>
(operand);
74
delete
string_p;
75
break
;
76
}
77
default
:
78
break
;
79
}
80
}
81
82
//
83
// const member functions
84
//
85
86
//
87
// static member functions
88
//
89
}
90
}
ErrorObj.h
edm::ErrorObj
Definition:
ErrorObj.h:48
edm::MessageLoggerQ::JOBMODE
Definition:
MessageLoggerQ.h:35
edm::service::SilentMLscribe::SilentMLscribe
SilentMLscribe()
Definition:
SilentMLscribe.cc:33
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
edm::MessageLoggerQ::OpCode
OpCode
Definition:
MessageLoggerQ.h:29
edm::service::SilentMLscribe::~SilentMLscribe
virtual ~SilentMLscribe()
Definition:
SilentMLscribe.cc:42
edm::MessageLoggerQ::GROUP_STATS
Definition:
MessageLoggerQ.h:38
edm::service::SilentMLscribe::runCommand
virtual void runCommand(MessageLoggerQ::OpCode opcode, void *operand)
Definition:
SilentMLscribe.cc:62
edm::MessageLoggerQ::LOG_A_MESSAGE
Definition:
MessageLoggerQ.h:31
SilentMLscribe.h
fff_monitoring.service
tuple service
Definition:
fff_monitoring.py:268
Generated for CMSSW Reference Manual by
1.8.5