ICounterSummarySvc.h
Go to the documentation of this file.00001 #ifndef GAUDIKERNEL_ICOUNTERSUMMARYSVC_H
00002 #define GAUDIKERNEL_ICOUNTERSUMMARYSVC_H
00003
00004
00005 #include "GaudiKernel/IService.h"
00006 #include <string>
00007
00008
00009 class StatEntity;
00010 class Stat;
00011
00012 namespace Gaudi
00013 {
00014 namespace CounterSummary
00015 {
00017 enum SaveType
00018 {
00019 SaveSimpleCounter=0,
00020 SaveStatEntity,
00021 SaveAlwaysSimpleCounter,
00022 SaveAlwaysStatEntity
00023 };
00024 }
00025 }
00026
00037 class GAUDI_API ICounterSummarySvc: virtual public IService {
00038
00039 public:
00041 DeclareInterfaceID(ICounterSummarySvc,1,0);
00042
00051 virtual void addCounter(
00052 const std::string ,
00053 const std::string name,
00054 const StatEntity &,
00055 const Gaudi::CounterSummary::SaveType saveType=
00056 Gaudi::CounterSummary::SaveSimpleCounter)=0;
00057
00066 virtual void addCounter(
00067 const std::string ,
00068 const std::string name,
00069 const Stat &,
00070 const Gaudi::CounterSummary::SaveType saveType=
00071 Gaudi::CounterSummary::SaveSimpleCounter)=0;
00072
00073 };
00074
00075 #endif