The Gaudi Framework  v29r0 (ff2e7097)
ICounterSvc::Printout Class Referencefinal

Print counters for each element in the range [first, last) e.g. More...

#include <GaudiKernel/ICounterSvc.h>

Collaboration diagram for ICounterSvc::Printout:

Public Member Functions

 Printout (ICounterSvc *svc)
 Standard initializing constructor. More...
 
StatusCode operator() (MsgStream &log, const Counter *cnt) const
 Callback for printout with Counter pointers. More...
 
 Printout ()=delete
 no default constructor More...
 
 Printout (const Printout &)=delete
 
Printoutoperator= (const Printout &)=delete
 no assigment is allowed More...
 

Private Attributes

SmartIF< ICounterSvcm_svc
 Reference to counter service. More...
 

Detailed Description

Print counters for each element in the range [first, last) e.g.

for_each(start, end, PrintCube) ;

Author
Markus Frank
Version
1.0

Definition at line 108 of file ICounterSvc.h.

Constructor & Destructor Documentation

ICounterSvc::Printout::Printout ( ICounterSvc svc)

Standard initializing constructor.

Definition at line 28 of file ICounterSvc.cpp.

28 : m_svc( svc ) {}
SmartIF< ICounterSvc > m_svc
Reference to counter service.
Definition: ICounterSvc.h:122
ICounterSvc::Printout::Printout ( )
delete

no default constructor

ICounterSvc::Printout::Printout ( const Printout )
delete

Member Function Documentation

StatusCode ICounterSvc::Printout::operator() ( MsgStream log,
const Counter cnt 
) const

Callback for printout with Counter pointers.

Definition at line 21 of file ICounterSvc.cpp.

22 {
23  return m_svc ? m_svc->defaultPrintout( log, cnt ) : StatusCode::FAILURE;
24 }
SmartIF< ICounterSvc > m_svc
Reference to counter service.
Definition: ICounterSvc.h:122
virtual StatusCode defaultPrintout(MsgStream &log, const Counter *pCounter) const =0
Default Printout for counters.
Printout& ICounterSvc::Printout::operator= ( const Printout )
delete

no assigment is allowed

Member Data Documentation

SmartIF<ICounterSvc> ICounterSvc::Printout::m_svc
private

Reference to counter service.

Definition at line 122 of file ICounterSvc.h.


The documentation for this class was generated from the following files: