CMS 3D CMS Logo

Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Private Attributes

edm::MessageDrop Struct Reference

#include <MessageDrop.h>

List of all members.

Public Member Functions

std::string moduleContext ()
void setModuleWithPhase (std::string const &name, std::string const &label, const void *moduleID, const char *phase)
void setPath (const char *type, std::string const &pathname)
void setSinglet (const char *sing)
void snapshot ()
 ~MessageDrop ()

Static Public Member Functions

static MessageDropinstance ()

Public Attributes

std::string jobMode
std::string jobreport_name
std::string moduleName
std::string runEvent

Static Public Attributes

static bool debugAlwaysSuppressed = false
static bool debugEnabled = true
static bool errorEnabled = true
static edm::Exceptionex_p = 0
static bool infoAlwaysSuppressed = false
static bool infoEnabled = true
static unsigned char messageLoggerScribeIsRunning = 0
static bool warningAlwaysSuppressed = false
static bool warningEnabled = true

Private Member Functions

 MessageDrop ()
 MessageDrop (MessageDrop const &)
MessageDropoperator= (MessageDrop const &)

Private Attributes

messagedrop::StringProducer const * moduleNameProducer
messagedrop::StringProducerPathspPath
messagedrop::StringProducerSingletspSinglet
messagedrop::StringProducerWithPhasespWithPhase

Detailed Description

Definition at line 84 of file MessageDrop.h.


Constructor & Destructor Documentation

MessageDrop::MessageDrop ( ) [private]
edm::MessageDrop::MessageDrop ( MessageDrop const &  ) [private]
MessageDrop::~MessageDrop ( )

Definition at line 236 of file MessageDrop.cc.

References spPath, spSinglet, and spWithPhase.

{
  delete spSinglet;
  delete spPath;
  delete spWithPhase;
}

Member Function Documentation

MessageDrop * MessageDrop::instance ( ) [static]

Definition at line 65 of file MessageDrop.cc.

References drop.

Referenced by edm::FlushMessageLog(), edm::isMessageProcessingSetUp(), run_app(), and edm::snapshotMessageLog().

{
  static boost::thread_specific_ptr<MessageDrop> drops;
  MessageDrop* drop = drops.get();
  if(drop==0) { 
    drops.reset(new MessageDrop);
    drop=drops.get(); 
  }
  return drop;
}
std::string MessageDrop::moduleContext ( )
MessageDrop& edm::MessageDrop::operator= ( MessageDrop const &  ) [private]
void MessageDrop::setModuleWithPhase ( std::string const &  name,
std::string const &  label,
const void *  moduleID,
const char *  phase 
)
void MessageDrop::setPath ( const char *  type,
std::string const &  pathname 
)
void MessageDrop::setSinglet ( const char *  sing)
void MessageDrop::snapshot ( )

Member Data Documentation

bool MessageDrop::debugAlwaysSuppressed = false [static]
bool MessageDrop::debugEnabled = true [static]
bool MessageDrop::errorEnabled = true [static]

Definition at line 110 of file MessageDrop.h.

bool MessageDrop::infoAlwaysSuppressed = false [static]
bool MessageDrop::infoEnabled = true [static]

Definition at line 104 of file MessageDrop.h.

Definition at line 103 of file MessageDrop.h.

unsigned char MessageDrop::messageLoggerScribeIsRunning = 0 [static]

Definition at line 109 of file MessageDrop.h.

Definition at line 93 of file MessageDrop.h.

Referenced by edm::service::MessageLogger::jobFailure().

Definition at line 118 of file MessageDrop.h.

Referenced by moduleContext(), setModuleWithPhase(), setPath(), setSinglet(), and snapshot().

Definition at line 102 of file MessageDrop.h.

Referenced by edm::MessageSender::ErrorObjDeleter::operator()().

Definition at line 116 of file MessageDrop.h.

Referenced by setPath(), and ~MessageDrop().

Definition at line 117 of file MessageDrop.h.

Referenced by setSinglet(), and ~MessageDrop().

Definition at line 115 of file MessageDrop.h.

Referenced by setModuleWithPhase(), and ~MessageDrop().

bool MessageDrop::warningAlwaysSuppressed = false [static]
bool MessageDrop::warningEnabled = true [static]