The Gaudi Framework  v33r1 (b1225454)
IStatSvc.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2019 CERN for the benefit of the LHCb and ATLAS collaborations *
3 * *
4 * This software is distributed under the terms of the Apache version 2 licence, *
5 * copied verbatim in the file "LICENSE". *
6 * *
7 * In applying this licence, CERN does not waive the privileges and immunities *
8 * granted to it by virtue of its status as an Intergovernmental Organization *
9 * or submit itself to any jurisdiction. *
10 \***********************************************************************************/
11 #ifndef GAUDIKERNEL_ISTATSVC_H
12 #define GAUDIKERNEL_ISTATSVC_H 1
13 // ============================================================================
14 // Include files
15 // ============================================================================
16 // STD&STL
17 // ============================================================================
18 #include <string>
19 // ============================================================================
20 // GaudiKernel
21 // ============================================================================
22 #include "GaudiKernel/IInterface.h"
23 // ============================================================================
24 // forward declaration
25 // ============================================================================
26 class StatEntity;
27 // ============================================================================
35 class GAUDI_API IStatSvc : virtual public IInterface {
36 public:
42  typedef double StatFlag;
43 
44 public:
50  virtual void stat( const StatTag& t, const StatFlag& f ) = 0;
55  virtual void statPrint( const StatTag& t ) = 0;
60  virtual StatEntity* stat( const StatTag& t ) = 0;
61 };
62 // ============================================================================
63 // The END
64 // ============================================================================
65 #endif // GAUDIKERNEL_ISTATSVC_H
double StatFlag
the actual value type used for Stat
Definition: IStatSvc.h:42
STL class.
Definition of the basic interface.
Definition: IInterface.h:254
#define DeclareInterfaceID(iface, major, minor)
Macro to declare the interface ID when using the new mechanism of extending and implementing interfac...
Definition: IInterface.h:23
"Stat"-related part of interface IChronoStatSvc
Definition: IStatSvc.h:35
backward compatible StatEntity class.
Definition: StatEntity.h:18
std::string StatTag
the actual identificator of Stat
Definition: IStatSvc.h:40
#define GAUDI_API
Definition: Kernel.h:81