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 // ============================================================================
10 #include "GaudiKernel/StatEntity.h"
12 // ============================================================================
18 // ============================================================================
19 // Callback for printout with Counter pointers
20 // ============================================================================
21 StatusCode ICounterSvc::Printout::operator()
22  ( MsgStream& log, const Counter* cnt ) const
23 { return m_svc ? m_svc->defaultPrintout(log, cnt) : StatusCode::FAILURE ; }
24 // ============================================================================
25 // Standard initializing constructor
26 // ============================================================================
28  : m_svc(svc)
29 { }
30 
31 // ============================================================================
32 // The END
33 // ============================================================================
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
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:26
The basic counter used for Monitoring purposes.
Definition: StatEntity.h:64