CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Protected Attributes
edm::service::ELdestControl Class Reference

#include <ELdestControl.h>

Public Member Functions

virtual void attachEpilogue ()
 
virtual void attachTime ()
 
virtual void changeFile (std::ostream &os)
 
virtual void changeFile (const ELstring &filename)
 
virtual ELdestControlclearSummary ()
 
 ELdestControl (boost::shared_ptr< ELdestination > dest)
 
 ELdestControl ()
 
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 ELstring &s, int n)
 
virtual ELdestControlsetLimit (const ELseverityLevel &sv, 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, char *title="")
 
virtual void summary (std::ostream &os, char *title="")
 
virtual void summary (ELstring &s, char *title="")
 
virtual void summary ()
 
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.

45 : d ( dest )
46 {
47  #ifdef ELdestinationCONSTRUCTOR_TRACE
48  std::cerr << "Constructor for ELdestControl\n";
49  #endif
50 } // ELdestControl()
boost::shared_ptr< ELdestination > d
edm::service::ELdestControl::ELdestControl ( )

Definition at line 53 of file ELdestControl.cc.

References dtNoiseDBValidation_cfg::cerr.

54 : d ( )
55 {
56  #ifdef ELdestinationCONSTRUCTOR_TRACE
57  std::cerr << "Default Constructor for ELdestControl\n";
58  #endif
59 } // ELdestControl()
boost::shared_ptr< ELdestination > d
edm::service::ELdestControl::~ELdestControl ( )
virtual

Definition at line 62 of file ELdestControl.cc.

References dtNoiseDBValidation_cfg::cerr.

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

Member Function Documentation

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

Definition at line 152 of file ELdestControl.cc.

References d.

152 { if (d) d->attachEpilogue(); }
boost::shared_ptr< ELdestination > d
void edm::service::ELdestControl::attachTime ( )
virtual

Definition at line 149 of file ELdestControl.cc.

References d.

149 { if (d) d->attachTime(); }
boost::shared_ptr< ELdestination > d
void edm::service::ELdestControl::changeFile ( std::ostream &  os)
virtual

Definition at line 277 of file ELdestControl.cc.

References d.

277  {
278  if (d) d->changeFile(os);
279 }
boost::shared_ptr< ELdestination > d
void edm::service::ELdestControl::changeFile ( const ELstring filename)
virtual

Definition at line 281 of file ELdestControl.cc.

References d.

281  {
282  if (d) d->changeFile(filename);
283 }
boost::shared_ptr< ELdestination > d
tuple filename
Definition: lut2db_cfg.py:20
ELdestControl & edm::service::ELdestControl::clearSummary ( )
virtual

Definition at line 229 of file ELdestControl.cc.

References d.

229  {
230  if (d) d->clearSummary();
231  return * this;
232 }
boost::shared_ptr< ELdestination > d
void edm::service::ELdestControl::excludeModule ( ELstring const &  moduleName)
virtual

Definition at line 181 of file ELdestControl.cc.

References d.

181  {
182  if (d) d->excludeModule( moduleName );
183 }
boost::shared_ptr< ELdestination > d
void edm::service::ELdestControl::filterModule ( ELstring const &  moduleName)
virtual

Definition at line 177 of file ELdestControl.cc.

References d.

177  {
178  if (d) d->filterModule( moduleName );
179 }
boost::shared_ptr< ELdestination > d
void edm::service::ELdestControl::flush ( )
virtual

Definition at line 285 of file ELdestControl.cc.

References d.

285  {
286  if (d) d->flush();
287 }
boost::shared_ptr< ELdestination > d
int edm::service::ELdestControl::getLineLength ( ) const
virtual

Definition at line 169 of file ELdestControl.cc.

References d.

169  {
170  if (d) {
171  return d->getLineLength();
172  } else {
173  return 0;
174  }
175 }
boost::shared_ptr< ELdestination > d
ELstring edm::service::ELdestControl::getNewline ( ) const

Definition at line 261 of file ELdestControl.cc.

References d.

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

261  {
262  if (d) {
263  return d->getNewline();
264  } else {
265  return ELstring();
266  }
267 }
boost::shared_ptr< ELdestination > d
std::string ELstring
Definition: ELstring.h:26
void edm::service::ELdestControl::ignoreModule ( ELstring const &  moduleName)
virtual

Definition at line 185 of file ELdestControl.cc.

References d.

185  {
186  if (d) d->ignoreModule( moduleName );
187 }
boost::shared_ptr< ELdestination > d
void edm::service::ELdestControl::includeContext ( )
virtual

Definition at line 140 of file ELdestControl.cc.

References d.

140 { if (d) d->includeContext(); }
boost::shared_ptr< ELdestination > d
void edm::service::ELdestControl::includeModule ( )
virtual

Definition at line 131 of file ELdestControl.cc.

References d.

131 { if (d) d->includeModule(); }
boost::shared_ptr< ELdestination > d
void edm::service::ELdestControl::includeSerial ( )
virtual

Definition at line 143 of file ELdestControl.cc.

References d.

143 { if (d) d->includeSerial(); }
boost::shared_ptr< ELdestination > d
void edm::service::ELdestControl::includeSubroutine ( )
virtual

Definition at line 134 of file ELdestControl.cc.

References d.

134 { if (d) d->includeSubroutine(); }
boost::shared_ptr< ELdestination > d
void edm::service::ELdestControl::includeText ( )
virtual

Definition at line 128 of file ELdestControl.cc.

References d.

128 { if (d) d->includeText(); }
boost::shared_ptr< ELdestination > d
void edm::service::ELdestControl::includeTime ( )
virtual

Definition at line 137 of file ELdestControl.cc.

References d.

137 { if (d) d->includeTime(); }
boost::shared_ptr< ELdestination > d
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().

247  {
248  if (d) {
249  return d->log( msg );
250  } else {
251  return false;
252  }
253 }
boost::shared_ptr< ELdestination > d
void edm::service::ELdestControl::noTerminationSummary ( )
virtual

Definition at line 154 of file ELdestControl.cc.

References d.

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

154 {if (d) d->noTerminationSummary(); }
boost::shared_ptr< ELdestination > d
void edm::service::ELdestControl::respondToModule ( ELstring const &  moduleName)
virtual

Definition at line 189 of file ELdestControl.cc.

References d.

189  {
190  if (d) d->respondToModule( moduleName );
191 }
boost::shared_ptr< ELdestination > d
void edm::service::ELdestControl::separateEpilogue ( )
virtual

Definition at line 151 of file ELdestControl.cc.

References d.

151 { if (d) d->separateEpilogue(); }
boost::shared_ptr< ELdestination > d
void edm::service::ELdestControl::separateTime ( )
virtual

Definition at line 148 of file ELdestControl.cc.

References d.

148 { if (d) d->separateTime(); }
boost::shared_ptr< ELdestination > d
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().

97  {
98  if (d) d->limits.setInterval( s, interval );
99  return * this;
100 }
boost::shared_ptr< ELdestination > d
tuple interval
Definition: MergeJob_cfg.py:20
ELdestControl & edm::service::ELdestControl::setInterval ( const ELseverityLevel sv,
int  interval 
)
virtual

Definition at line 92 of file ELdestControl.cc.

References setInterval().

92  {
93  if (d) d->limits.setInterval( sv, interval );
94  return * this;
95 }
boost::shared_ptr< ELdestination > d
tuple interval
Definition: MergeJob_cfg.py:20
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().

85  {
86  if (d) d->limits.setLimit( s, n );
87  return * this;
88 }
boost::shared_ptr< ELdestination > d
ELdestControl & edm::service::ELdestControl::setLimit ( const ELseverityLevel sv,
int  n 
)
virtual

Definition at line 103 of file ELdestControl.cc.

References d.

103  {
104  if (d) d->limits.setLimit( sv, n );
105  return * this;
106 }
boost::shared_ptr< ELdestination > d
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().

161  {
162  if (d) {
163  return d->setLineLength(len);
164  } else {
165  return 0;
166  }
167 }
boost::shared_ptr< ELdestination > d
ELdestControl & edm::service::ELdestControl::setNewline ( const ELstring newline)
virtual

Definition at line 194 of file ELdestControl.cc.

References d.

194  {
195  if (d) d->newline = newline;
196  return * this;
197 }
boost::shared_ptr< ELdestination > d
ELdestControl & edm::service::ELdestControl::setPreamble ( const ELstring preamble)
virtual

Definition at line 156 of file ELdestControl.cc.

References d.

156  {
157  if (d) d->preamble = preamble;
158  return * this;
159 }
boost::shared_ptr< ELdestination > d
ELdestControl & edm::service::ELdestControl::setTableLimit ( int  n)
virtual

Definition at line 121 of file ELdestControl.cc.

References d.

121  {
122  if (d) d->limits.setTableLimit( n );
123  return * this;
124 }
boost::shared_ptr< ELdestination > d
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().

73  {
74  if (d) d->threshold = sv;
75  return * this;
76 }
boost::shared_ptr< ELdestination > d
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().

109  {
110  if (d) d->limits.setTimespan( s, n );
111  return * this;
112 }
boost::shared_ptr< ELdestination > d
ELdestControl & edm::service::ELdestControl::setTimespan ( const ELseverityLevel sv,
int  n 
)
virtual

Definition at line 115 of file ELdestControl.cc.

References d.

115  {
116  if (d) d->limits.setTimespan( sv, n );
117  return * this;
118 }
boost::shared_ptr< ELdestination > d
ELdestControl & edm::service::ELdestControl::setTraceThreshold ( const ELseverityLevel sv)
virtual

Definition at line 79 of file ELdestControl.cc.

References d.

79  {
80  if (d) d->traceThreshold = sv;
81  return * this;
82 }
boost::shared_ptr< ELdestination > d
std::map< ELextendedID, StatsCount > edm::service::ELdestControl::statisticsMap ( ) const
virtual

Definition at line 269 of file ELdestControl.cc.

References d.

269  {
270  if (d) {
271  return d->statisticsMap();
272  } else {
273  return std::map<ELextendedID , StatsCount>();
274  }
275 }
boost::shared_ptr< ELdestination > d
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().

257  {
258  if (d) d->summarization ( title, sumLines );
259 }
boost::shared_ptr< ELdestination > d
void edm::service::ELdestControl::summary ( ELdestControl dest,
char *  title = "" 
)
virtual

Definition at line 206 of file ELdestControl.cc.

References d.

206  {
207  if (d) d->summary( dest, title );
208 }
boost::shared_ptr< ELdestination > d
void edm::service::ELdestControl::summary ( std::ostream &  os,
char *  title = "" 
)
virtual

Definition at line 211 of file ELdestControl.cc.

References d.

211  {
212  if (d) d->summary( os, title );
213 }
boost::shared_ptr< ELdestination > d
void edm::service::ELdestControl::summary ( ELstring s,
char *  title = "" 
)
virtual

Definition at line 216 of file ELdestControl.cc.

References d.

216  {
217  if (d) d->summary( s, title );
218 }
boost::shared_ptr< ELdestination > d
void edm::service::ELdestControl::summary ( )
virtual

Definition at line 220 of file ELdestControl.cc.

References d.

220  {
221  if (d) d->summary( );
222 }
boost::shared_ptr< ELdestination > d
void edm::service::ELdestControl::summaryForJobReport ( std::map< std::string, double > &  sm)
virtual

Definition at line 224 of file ELdestControl.cc.

References d.

224  {
225  if (d) d->summaryForJobReport(sm);
226 }
boost::shared_ptr< ELdestination > d
void edm::service::ELdestControl::suppressContext ( )
virtual

Definition at line 139 of file ELdestControl.cc.

References d.

139 { if (d) d->suppressContext(); }
boost::shared_ptr< ELdestination > d
void edm::service::ELdestControl::suppressModule ( )
virtual

Definition at line 130 of file ELdestControl.cc.

References d.

130 { if (d) d->suppressModule(); }
boost::shared_ptr< ELdestination > d
void edm::service::ELdestControl::suppressSerial ( )
virtual

Definition at line 142 of file ELdestControl.cc.

References d.

142 { if (d) d->suppressSerial(); }
boost::shared_ptr< ELdestination > d
void edm::service::ELdestControl::suppressSubroutine ( )
virtual

Definition at line 133 of file ELdestControl.cc.

References d.

133 { if (d) d->suppressSubroutine(); }
boost::shared_ptr< ELdestination > d
void edm::service::ELdestControl::suppressText ( )
virtual

Definition at line 127 of file ELdestControl.cc.

References d.

127 { if (d) d->suppressText(); } // $$ jvr
boost::shared_ptr< ELdestination > d
void edm::service::ELdestControl::suppressTime ( )
virtual
void edm::service::ELdestControl::useContext ( )
virtual

Definition at line 146 of file ELdestControl.cc.

References d.

146 { if (d) d->useContext(); }
boost::shared_ptr< ELdestination > d
void edm::service::ELdestControl::useFullContext ( )
virtual

Definition at line 145 of file ELdestControl.cc.

References d.

145 { if (d) d->useFullContext(); }
boost::shared_ptr< ELdestination > d
ELdestControl & edm::service::ELdestControl::wipe ( )
virtual

Definition at line 235 of file ELdestControl.cc.

References d.

235  {
236  if (d) d->wipe();
237  return * this;
238 }
boost::shared_ptr< ELdestination > d
ELdestControl & edm::service::ELdestControl::zero ( )
virtual

Definition at line 241 of file ELdestControl.cc.

References d.

241  {
242  if (d) d->zero();
243  return * this;
244 }
boost::shared_ptr< ELdestination > d

Member Data Documentation

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