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 ()

Private Attributes

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

Detailed Description

Definition at line 81 of file MessageDrop.h.


Constructor & Destructor Documentation

MessageDrop::MessageDrop ( ) [private]
MessageDrop::~MessageDrop ( )

Definition at line 221 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 RPCReadOutMapping::detUnitFrame(), edm::service::MessageLogger::establish(), edm::service::MessageLogger::establishModule(), edm::service::MessageLogger::establishModuleCtor(), edm::FlushMessageLog(), PixelDataFormatter::interpretRawData(), edm::isMessageProcessingSetUp(), edm::service::MessageLogger::jobFailure(), edm::service::MessageLogger::MessageLogger(), DBSpecToDetUnit::operator()(), edm::service::MessageLogger::postBeginJob(), edm::service::MessageLogger::postBeginLumi(), edm::service::MessageLogger::postBeginRun(), edm::service::MessageLogger::postEndLumi(), edm::service::MessageLogger::postEndRun(), edm::service::MessageLogger::postEventProcessing(), edm::service::MessageLogger::postPathBeginLumi(), edm::service::MessageLogger::postPathBeginRun(), edm::service::MessageLogger::postPathEndLumi(), edm::service::MessageLogger::postPathEndRun(), edm::service::MessageLogger::postProcessPath(), edm::service::MessageLogger::preBeginLumi(), edm::service::MessageLogger::preBeginRun(), edm::service::MessageLogger::preEndLumi(), edm::service::MessageLogger::preEndRun(), edm::service::MessageLogger::preEventProcessing(), edm::service::MessageLogger::prePathBeginLumi(), edm::service::MessageLogger::prePathBeginRun(), edm::service::MessageLogger::prePathEndLumi(), edm::service::MessageLogger::prePathEndRun(), edm::service::MessageLogger::preProcessPath(), RPCUnpackingModule::produce(), SiPixelDigiToRaw::produce(), SiPixelRawToDigi::produce(), RPCRecordFormatter::recordUnpack(), edm::service::MessageLoggerScribe::run(), run_app(), edm::service::MessageLoggerScribe::runCommand(), edm::service::SingleThreadMSPresence::SingleThreadMSPresence(), edm::snapshotMessageLog(), edm::service::MessageLogger::unEstablish(), edm::service::MessageLogger::unEstablishModule(), and edm::MessageSender::~MessageSender().

{
  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 ( )
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 105 of file MessageDrop.h.

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

Definition at line 99 of file MessageDrop.h.

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

Definition at line 98 of file MessageDrop.h.

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

unsigned char MessageDrop::messageLoggerScribeIsRunning = 0 [static]

Definition at line 88 of file MessageDrop.h.

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

Definition at line 113 of file MessageDrop.h.

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

Definition at line 111 of file MessageDrop.h.

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

Definition at line 112 of file MessageDrop.h.

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

Definition at line 110 of file MessageDrop.h.

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

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