CMS 3D CMS Logo

Public Member Functions | Private Member Functions

edm::service::SilentMLscribe Class Reference

#include <SilentMLscribe.h>

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

List of all members.

Public Member Functions

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

Private Member Functions

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

Detailed Description

Definition at line 30 of file SilentMLscribe.h.


Constructor & Destructor Documentation

SilentMLscribe::SilentMLscribe ( )

Definition at line 33 of file SilentMLscribe.cc.

      {
      }
SilentMLscribe::~SilentMLscribe ( ) [virtual]

Definition at line 42 of file SilentMLscribe.cc.

      {
      }
edm::service::SilentMLscribe::SilentMLscribe ( const SilentMLscribe ) [private]

Member Function Documentation

const SilentMLscribe& edm::service::SilentMLscribe::operator= ( const SilentMLscribe ) [private]
void SilentMLscribe::runCommand ( MessageLoggerQ::OpCode  opcode,
void *  operand 
) [virtual]

Reimplemented from edm::service::AbstractMLscribe.

Definition at line 62 of file SilentMLscribe.cc.

References edm::MessageLoggerQ::GROUP_STATS, edm::MessageLoggerQ::JOBMODE, edm::MessageLoggerQ::JOBREPORT, and edm::MessageLoggerQ::LOG_A_MESSAGE.

                                                                             {
         //even though we don't print, have to clean up memory
         switch (opcode) {
            case MessageLoggerQ::LOG_A_MESSAGE: {
               ErrorObj *  errorobj_p = static_cast<ErrorObj *>(operand);
               delete errorobj_p;
               break;
            }
            case MessageLoggerQ::JOBREPORT:
            case MessageLoggerQ::JOBMODE:
            case MessageLoggerQ::GROUP_STATS:
            {
               std::string* string_p = static_cast<std::string*> (operand);
               delete string_p;
               break;
            }
            default:
               break;
         }
      }