| The Gaudi Framework v32r1 (f65d50dc)

ISequencerTimerTool.h
Go to the documentation of this file.
1 #ifndef ISEQUENCERTIMERTOOL_H
2 #define ISEQUENCERTIMERTOOL_H 1
3
4 // from Gaudi
5 #include "GaudiKernel/IAlgTool.h"
6
14 class GAUDI_API ISequencerTimerTool : public virtual IAlgTool {
15
16 public:
17 using IAlgTool::name;
18 using IAlgTool::start;
19 using IAlgTool::stop;
20
21 public:
23 DeclareInterfaceID( ISequencerTimerTool, 3, 0 );
24
26 virtual int addTimer( const std::string& name ) = 0;
27
29 virtual void increaseIndent() = 0;
30
32 virtual void decreaseIndent() = 0;
33
35 virtual void start( int index ) = 0;
36
38 virtual double stop( int index ) = 0;
39
41 virtual const std::string& name( int index ) = 0;
42
44 virtual double lastTime( int index ) = 0;
45
47 virtual int indexByName( const std::string& name ) = 0;
48
50 virtual bool globalTiming() = 0;
51
53 virtual void saveHistograms() = 0;
54 };
55
56 #endif // ISEQUENCERTIMERTOOL_H
gaudiComponentHelp.name
name
Definition: gaudiComponentHelp.py:41
IAlgTool::start
virtual StatusCode start()=0
Start (from INITIALIZED to RUNNING).
IAlgTool::DeclareInterfaceID
DeclareInterfaceID(IAlgTool, 4, 0)
InterfaceID.
std::string
STL class.
INamedInterface::name
virtual const std::string & name() const =0
Retrieve the name of the instance.
IAlgTool.h
IAlgTool::stop
virtual StatusCode stop()=0
Stop (from RUNNING to INITIALIZED).
IAlgTool
The interface implemented by the AlgTool base class.
Definition: IAlgTool.h:23
ISequencerTimerTool
Implements the time measurement inside a sequencer.
Definition: ISequencerTimerTool.h:14
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:71