The Gaudi Framework
master (37c0b60a)
IStatSvc.h
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2024 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
:
38
DeclareInterfaceID
(
IStatSvc
, 2, 0 );
40
typedef
std::string
StatTag
;
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
std::string
STL class.
StatEntity
backward compatible StatEntity class.
Definition:
StatEntity.h:23
IStatSvc::StatFlag
double StatFlag
the actual value type used for Stat
Definition:
IStatSvc.h:42
IStatSvc::stat
virtual void stat(const StatTag &t, const StatFlag &f)=0
add statistical information to the entity , tagged by its name
IStatSvc
Definition:
IStatSvc.h:35
IStatSvc::stat
virtual StatEntity * stat(const StatTag &t)=0
extract the stat entity for the given tag (name)
bug_34121.t
t
Definition:
bug_34121.py:31
IInterface.h
IStatSvc::DeclareInterfaceID
DeclareInterfaceID(IStatSvc, 2, 0)
InterfaceID.
IStatSvc::StatTag
std::string StatTag
the actual identificator of Stat
Definition:
IStatSvc.h:40
IInterface
Definition:
IInterface.h:239
IStatSvc::statPrint
virtual void statPrint(const StatTag &t)=0
prints (using message service) info about statistical entity, tagged by its name
GAUDI_API
#define GAUDI_API
Definition:
Kernel.h:81
GaudiKernel
include
GaudiKernel
IStatSvc.h
Generated on Thu Dec 19 2024 15:35:01 for The Gaudi Framework by
1.8.18