CMS 3D CMS Logo

Public Member Functions | Protected Attributes

edm::service::ELdestControl Class Reference

#include <ELdestControl.h>

List of all members.

Public Member Functions

virtual void attachEpilogue ()
virtual void attachTime ()
virtual void changeFile (std::ostream &os)
virtual void changeFile (const ELstring &filename)
virtual ELdestControlclearSummary ()
 ELdestControl ()
 ELdestControl (boost::shared_ptr< ELdestination > dest)
virtual void excludeModule (ELstring const &moduleName)
virtual void filterModule (ELstring const &moduleName)
virtual void flush ()
virtual int getLineLength () const
ELstring getNewline () const
virtual void ignoreModule (ELstring const &moduleName)
virtual void includeContext ()
virtual void includeModule ()
virtual void includeSerial ()
virtual void includeSubroutine ()
virtual void includeText ()
virtual void includeTime ()
virtual bool log (edm::ErrorObj &msg)
virtual void noTerminationSummary ()
virtual void respondToModule (ELstring const &moduleName)
virtual void separateEpilogue ()
virtual void separateTime ()
virtual ELdestControlsetInterval (const ELstring &s, int interval)
virtual ELdestControlsetInterval (const ELseverityLevel &sv, int interval)
virtual ELdestControlsetLimit (const ELseverityLevel &sv, int n)
virtual ELdestControlsetLimit (const ELstring &s, int n)
virtual int setLineLength (int len)
virtual ELdestControlsetNewline (const ELstring &newline)
virtual ELdestControlsetPreamble (const ELstring &preamble)
virtual ELdestControlsetTableLimit (int n)
virtual ELdestControlsetThreshold (const ELseverityLevel &sv)
virtual ELdestControlsetTimespan (const ELstring &s, int n)
virtual ELdestControlsetTimespan (const ELseverityLevel &sv, int n)
virtual ELdestControlsetTraceThreshold (const ELseverityLevel &sv)
virtual std::map< ELextendedID,
StatsCount
statisticsMap () const
virtual void summarization (const ELstring &title, const ELstring &sumLines)
virtual void summary (ELdestControl &dest, const char *title="")
virtual void summary ()
virtual void summary (ELstring &s, const char *title="")
virtual void summary (std::ostream &os, const char *title="")
virtual void summaryForJobReport (std::map< std::string, double > &sm)
virtual void suppressContext ()
virtual void suppressModule ()
virtual void suppressSerial ()
virtual void suppressSubroutine ()
virtual void suppressText ()
virtual void suppressTime ()
virtual void useContext ()
virtual void useFullContext ()
virtual ELdestControlwipe ()
virtual ELdestControlzero ()
virtual ~ELdestControl ()

Protected Attributes

boost::shared_ptr< ELdestinationd

Detailed Description

Definition at line 53 of file ELdestControl.h.


Constructor & Destructor Documentation

edm::service::ELdestControl::ELdestControl ( boost::shared_ptr< ELdestination dest)

Definition at line 44 of file ELdestControl.cc.

References dtNoiseDBValidation_cfg::cerr.

: d ( dest )
{
  #ifdef ELdestinationCONSTRUCTOR_TRACE
    std::cerr << "Constructor for ELdestControl\n";
  #endif
}  // ELdestControl()
edm::service::ELdestControl::ELdestControl ( )

Definition at line 53 of file ELdestControl.cc.

References dtNoiseDBValidation_cfg::cerr.

: d ( )
{
  #ifdef ELdestinationCONSTRUCTOR_TRACE
    std::cerr << "Default Constructor for ELdestControl\n";
  #endif
}  // ELdestControl()
edm::service::ELdestControl::~ELdestControl ( ) [virtual]

Definition at line 62 of file ELdestControl.cc.

References dtNoiseDBValidation_cfg::cerr.

                               {
  #ifdef ELdestinationCONSTRUCTOR_TRACE
    std::cerr << "Destructor for ELdestControl\n";
  #endif
}  // ~ELdestControl()

Member Function Documentation

void edm::service::ELdestControl::attachEpilogue ( ) [virtual]

Definition at line 152 of file ELdestControl.cc.

References d.

{ if (d) d->attachEpilogue();   }
void edm::service::ELdestControl::attachTime ( ) [virtual]

Definition at line 149 of file ELdestControl.cc.

References d.

{ if (d) d->attachTime();   }
void edm::service::ELdestControl::changeFile ( std::ostream &  os) [virtual]

Definition at line 277 of file ELdestControl.cc.

References d.

                                               {
  if (d) d->changeFile(os);
}
void edm::service::ELdestControl::changeFile ( const ELstring filename) [virtual]

Definition at line 281 of file ELdestControl.cc.

References d.

                                                         {
  if (d) d->changeFile(filename);
}
ELdestControl & edm::service::ELdestControl::clearSummary ( ) [virtual]

Definition at line 229 of file ELdestControl.cc.

References d.

                                             {
  if (d) d->clearSummary();
  return  * this;
}
void edm::service::ELdestControl::excludeModule ( ELstring const &  moduleName) [virtual]

Definition at line 181 of file ELdestControl.cc.

References d.

                                                                {
  if (d) d->excludeModule( moduleName );
}
void edm::service::ELdestControl::filterModule ( ELstring const &  moduleName) [virtual]

Definition at line 177 of file ELdestControl.cc.

References d.

                                                               {
  if (d) d->filterModule( moduleName );
}
void edm::service::ELdestControl::flush ( ) [virtual]

Definition at line 285 of file ELdestControl.cc.

References d.

                           {
  if (d) d->flush();
}
int edm::service::ELdestControl::getLineLength ( ) const [virtual]

Definition at line 169 of file ELdestControl.cc.

References d.

                                        {
  if (d) {
    return d->getLineLength();
  } else {
    return 0;
  }
}
ELstring edm::service::ELdestControl::getNewline ( ) const

Definition at line 261 of file ELdestControl.cc.

References d.

Referenced by edm::service::ELdestination::summary().

                                          {
  if (d) {
    return d->getNewline();
  } else {
    return ELstring();
  }
}
void edm::service::ELdestControl::ignoreModule ( ELstring const &  moduleName) [virtual]

Definition at line 185 of file ELdestControl.cc.

References d.

                                                               {
  if (d) d->ignoreModule( moduleName );
}
void edm::service::ELdestControl::includeContext ( ) [virtual]

Definition at line 140 of file ELdestControl.cc.

References d.

{ if (d) d->includeContext();  }
void edm::service::ELdestControl::includeModule ( ) [virtual]

Definition at line 131 of file ELdestControl.cc.

References d.

{ if (d) d->includeModule();  }
void edm::service::ELdestControl::includeSerial ( ) [virtual]

Definition at line 143 of file ELdestControl.cc.

References d.

{ if (d) d->includeSerial();  }
void edm::service::ELdestControl::includeSubroutine ( ) [virtual]

Definition at line 134 of file ELdestControl.cc.

References d.

{ if (d) d->includeSubroutine();  }
void edm::service::ELdestControl::includeText ( ) [virtual]

Definition at line 128 of file ELdestControl.cc.

References d.

{ if (d) d->includeText();  }
void edm::service::ELdestControl::includeTime ( ) [virtual]

Definition at line 137 of file ELdestControl.cc.

References d.

{ if (d) d->includeTime();  }
bool edm::service::ELdestControl::log ( edm::ErrorObj msg) [virtual]

Definition at line 247 of file ELdestControl.cc.

References d.

Referenced by edm::service::ELdestination::summary().

                                            {
  if (d) {
    return d->log( msg );
  } else {
    return false;
  }
}
void edm::service::ELdestControl::noTerminationSummary ( ) [virtual]

Definition at line 154 of file ELdestControl.cc.

References d.

Referenced by edm::service::MessageLoggerScribe::configure_statistics().

{if (d) d->noTerminationSummary(); }
void edm::service::ELdestControl::respondToModule ( ELstring const &  moduleName) [virtual]

Definition at line 189 of file ELdestControl.cc.

References d.

                                                                  {
  if (d) d->respondToModule( moduleName );
}
void edm::service::ELdestControl::separateEpilogue ( ) [virtual]

Definition at line 151 of file ELdestControl.cc.

References d.

{ if (d) d->separateEpilogue(); }
void edm::service::ELdestControl::separateTime ( ) [virtual]

Definition at line 148 of file ELdestControl.cc.

References d.

{ if (d) d->separateTime(); }
ELdestControl & edm::service::ELdestControl::setInterval ( const ELstring s,
int  interval 
) [virtual]

Definition at line 97 of file ELdestControl.cc.

References d.

Referenced by edm::service::MessageLoggerScribe::configure_dest(), and setInterval().

                                                                              {
  if (d) d->limits.setInterval( s, interval );
  return  * this;
}
ELdestControl & edm::service::ELdestControl::setInterval ( const ELseverityLevel sv,
int  interval 
) [virtual]

Definition at line 92 of file ELdestControl.cc.

References setInterval().

                                                                              {
  if (d) d->limits.setInterval( sv, interval );
  return  * this;
}
ELdestControl & edm::service::ELdestControl::setLimit ( const ELstring s,
int  n 
) [virtual]

Definition at line 85 of file ELdestControl.cc.

References d.

Referenced by edm::service::MessageLoggerScribe::configure_default_fwkJobReport(), and edm::service::MessageLoggerScribe::configure_dest().

                                                                    {
  if (d) d->limits.setLimit( s, n );
  return  * this;
}
ELdestControl & edm::service::ELdestControl::setLimit ( const ELseverityLevel sv,
int  n 
) [virtual]

Definition at line 103 of file ELdestControl.cc.

References d.

                                                                            {
  if (d) d->limits.setLimit( sv, n );
  return  * this;
}
int edm::service::ELdestControl::setLineLength ( int  len) [virtual]

Definition at line 161 of file ELdestControl.cc.

References d.

Referenced by edm::service::MessageLoggerScribe::configure_default_fwkJobReport(), and edm::service::MessageLoggerScribe::configure_dest().

                                         {
  if (d) {
    return d->setLineLength(len);
  } else {
    return 0;
  }
}
ELdestControl & edm::service::ELdestControl::setNewline ( const ELstring newline) [virtual]

Definition at line 194 of file ELdestControl.cc.

References d.

                                                                     {
  if (d) d->newline = newline;
  return  * this;
}
ELdestControl & edm::service::ELdestControl::setPreamble ( const ELstring preamble) [virtual]

Definition at line 156 of file ELdestControl.cc.

References d.

                                                                       {
  if (d) d->preamble = preamble;
  return  * this;
}
ELdestControl & edm::service::ELdestControl::setTableLimit ( int  n) [virtual]

Definition at line 121 of file ELdestControl.cc.

References d.

                                                     {
  if (d) d->limits.setTableLimit( n );
  return  * this;
}
ELdestControl & edm::service::ELdestControl::setThreshold ( const ELseverityLevel sv) [virtual]

Definition at line 73 of file ELdestControl.cc.

References d.

Referenced by edm::service::MessageLoggerScribe::configure_dest(), and edm::service::MessageLoggerScribe::configure_ordinary_destinations().

                                                                         {
  if (d) d->threshold = sv;
  return  * this;
}
ELdestControl & edm::service::ELdestControl::setTimespan ( const ELseverityLevel sv,
int  n 
) [virtual]

Definition at line 115 of file ELdestControl.cc.

References d.

                                                                               {
  if (d) d->limits.setTimespan( sv, n );
  return  * this;
}
ELdestControl & edm::service::ELdestControl::setTimespan ( const ELstring s,
int  n 
) [virtual]

Definition at line 109 of file ELdestControl.cc.

References d.

Referenced by edm::service::MessageLoggerScribe::configure_dest().

                                                                       {
  if (d) d->limits.setTimespan( s, n );
  return  * this;
}
ELdestControl & edm::service::ELdestControl::setTraceThreshold ( const ELseverityLevel sv) [virtual]

Definition at line 79 of file ELdestControl.cc.

References d.

                                                                              {
  if (d) d->traceThreshold = sv;
  return  * this;
}
std::map< ELextendedID, StatsCount > edm::service::ELdestControl::statisticsMap ( ) const [virtual]

Definition at line 269 of file ELdestControl.cc.

References d.

                                                                     {
  if (d) {
    return d->statisticsMap();
  } else {
    return std::map<ELextendedID , StatsCount>();
  }
}
void edm::service::ELdestControl::summarization ( const ELstring title,
const ELstring sumLines 
) [virtual]

Definition at line 255 of file ELdestControl.cc.

References d.

Referenced by edm::service::ELstatistics::summary().

                                    {
  if (d) d->summarization ( title, sumLines );
}
void edm::service::ELdestControl::summary ( ) [virtual]

Definition at line 220 of file ELdestControl.cc.

References d.

                              {
  if (d) d->summary( );
}
void edm::service::ELdestControl::summary ( ELdestControl dest,
const char *  title = "" 
) [virtual]

Definition at line 206 of file ELdestControl.cc.

References d.

                                                                       {
  if (d) d->summary( dest, title );
}
void edm::service::ELdestControl::summary ( std::ostream &  os,
const char *  title = "" 
) [virtual]

Definition at line 211 of file ELdestControl.cc.

References d.

                                                                  {
  if (d) d->summary( os, title );
}
void edm::service::ELdestControl::summary ( ELstring s,
const char *  title = "" 
) [virtual]

Definition at line 216 of file ELdestControl.cc.

References d.

                                                               {
  if (d) d->summary( s, title );
}
void edm::service::ELdestControl::summaryForJobReport ( std::map< std::string, double > &  sm) [virtual]

Definition at line 224 of file ELdestControl.cc.

References d.

                                                                        {
  if (d) d->summaryForJobReport(sm);
}
void edm::service::ELdestControl::suppressContext ( ) [virtual]

Definition at line 139 of file ELdestControl.cc.

References d.

{ if (d) d->suppressContext(); }
void edm::service::ELdestControl::suppressModule ( ) [virtual]

Definition at line 130 of file ELdestControl.cc.

References d.

{ if (d) d->suppressModule(); }
void edm::service::ELdestControl::suppressSerial ( ) [virtual]

Definition at line 142 of file ELdestControl.cc.

References d.

{ if (d) d->suppressSerial(); }
void edm::service::ELdestControl::suppressSubroutine ( ) [virtual]

Definition at line 133 of file ELdestControl.cc.

References d.

{ if (d) d->suppressSubroutine(); }
void edm::service::ELdestControl::suppressText ( ) [virtual]

Definition at line 127 of file ELdestControl.cc.

References d.

{ if (d) d->suppressText(); }  // $$ jvr
void edm::service::ELdestControl::suppressTime ( ) [virtual]
void edm::service::ELdestControl::useContext ( ) [virtual]

Definition at line 146 of file ELdestControl.cc.

References d.

{ if (d) d->useContext();  }
void edm::service::ELdestControl::useFullContext ( ) [virtual]

Definition at line 145 of file ELdestControl.cc.

References d.

{ if (d) d->useFullContext(); }
ELdestControl & edm::service::ELdestControl::wipe ( ) [virtual]

Definition at line 235 of file ELdestControl.cc.

References d.

                                     {
  if (d) d->wipe();
  return  * this;
}
ELdestControl & edm::service::ELdestControl::zero ( ) [virtual]

Definition at line 241 of file ELdestControl.cc.

References d.

                                     {
  if (d) d->zero();
  return  * this;
}

Member Data Documentation

boost::shared_ptr<ELdestination> edm::service::ELdestControl::d [protected]