CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions
edm::service::SilentMLscribe Class Reference

#include <SilentMLscribe.h>

Inheritance diagram for edm::service::SilentMLscribe:
edm::service::AbstractMLscribe

Public Member Functions

void runCommand (MessageLoggerQ::OpCode opcode, void *operand) override
 
 SilentMLscribe ()
 
 ~SilentMLscribe () override
 
- Public Member Functions inherited from edm::service::AbstractMLscribe
 AbstractMLscribe ()
 
virtual ~AbstractMLscribe ()
 

Private Member Functions

const SilentMLscribeoperator= (const SilentMLscribe &)=delete
 
 SilentMLscribe (const SilentMLscribe &)=delete
 

Detailed Description

Definition at line 29 of file SilentMLscribe.h.

Constructor & Destructor Documentation

◆ SilentMLscribe() [1/2]

SilentMLscribe::SilentMLscribe ( )

Definition at line 33 of file SilentMLscribe.cc.

33 {}

◆ ~SilentMLscribe()

SilentMLscribe::~SilentMLscribe ( )
override

Definition at line 40 of file SilentMLscribe.cc.

40 {}

◆ SilentMLscribe() [2/2]

edm::service::SilentMLscribe::SilentMLscribe ( const SilentMLscribe )
privatedelete

Member Function Documentation

◆ operator=()

const SilentMLscribe& edm::service::SilentMLscribe::operator= ( const SilentMLscribe )
privatedelete

◆ runCommand()

void SilentMLscribe::runCommand ( MessageLoggerQ::OpCode  opcode,
void *  operand 
)
overridevirtual

Reimplemented from edm::service::AbstractMLscribe.

Definition at line 57 of file SilentMLscribe.cc.

57  {
58  //even though we don't print, have to clean up memory
59  switch (opcode) {
61  ErrorObj* errorobj_p = static_cast<ErrorObj*>(operand);
62  delete errorobj_p;
63  break;
64  }
67  std::string* string_p = static_cast<std::string*>(operand);
68  delete string_p;
69  break;
70  }
71  default:
72  break;
73  }
74  }

References edm::MessageLoggerQ::GROUP_STATS, edm::MessageLoggerQ::JOBMODE, edm::MessageLoggerQ::LOG_A_MESSAGE, and AlCaHLTBitMon_QueryRunRegistry::string.

edm::MessageLoggerQ::GROUP_STATS
Definition: MessageLoggerQ.h:43
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::MessageLoggerQ::LOG_A_MESSAGE
Definition: MessageLoggerQ.h:29
edm::MessageLoggerQ::JOBMODE
Definition: MessageLoggerQ.h:37