The Gaudi Framework  v29r0 (ff2e7097)
ICounterSvc.cpp
Go to the documentation of this file.
1 // ============================================================================
2 // Include files
3 // ============================================================================
4 // STD & STL
5 // ============================================================================
6 #include <iostream>
7 // ============================================================================
8 // GaudiKernel
9 // ============================================================================
11 #include "GaudiKernel/StatEntity.h"
12 // ============================================================================
18 // ============================================================================
19 // Callback for printout with Counter pointers
20 // ============================================================================
22 {
23  return m_svc ? m_svc->defaultPrintout( log, cnt ) : StatusCode::FAILURE;
24 }
25 // ============================================================================
26 // Standard initializing constructor
27 // ============================================================================
29 
30 // ============================================================================
31 // The END
32 // ============================================================================
Printout()=delete
no default constructor
Definition of the MsgStream class used to transmit messages.
Definition: MsgStream.h:24
Create / access multi purpose counters.
Definition: ICounterSvc.h:75
SmartIF< ICounterSvc > m_svc
Reference to counter service.
Definition: ICounterSvc.h:122
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:28
virtual StatusCode defaultPrintout(MsgStream &log, const Counter *pCounter) const =0
Default Printout for counters.
StatusCode operator()(MsgStream &log, const Counter *cnt) const
Callback for printout with Counter pointers.
Definition: ICounterSvc.cpp:21
The basic counter used for Monitoring purposes.
Definition: StatEntity.h:65