00001 // $Id: ISequencerTimerTool.h,v 1.4 2005/07/29 16:49:43 hmd Exp $ 00002 #ifndef ISEQUENCERTIMERTOOL_H 00003 #define ISEQUENCERTIMERTOOL_H 1 00004 00005 // Include files 00006 // from Gaudi 00007 #include "GaudiKernel/IAlgTool.h" 00008 00009 static const InterfaceID IID_ISequencerTimerTool( "ISequencerTimerTool", 1, 0 ); 00010 00018 class ISequencerTimerTool : public virtual IAlgTool { 00019 public: 00020 // Return the interface ID 00021 static const InterfaceID& interfaceID() { return IID_ISequencerTimerTool; } 00022 00024 virtual int addTimer( std::string name ) = 0 ; 00025 00027 virtual void increaseIndent() = 0 ; 00028 00030 virtual void decreaseIndent() = 0; 00031 00033 virtual void start( int index ) = 0; 00034 00036 virtual double stop( int index ) = 0; 00037 00039 virtual std::string name( int index ) = 0; 00040 00042 virtual double lastTime( int index ) = 0; 00043 00045 virtual int indexByName( std::string name ) = 0; 00046 00048 virtual bool globalTiming() = 0; 00049 }; 00050 #endif // ISEQUENCERTIMERTOOL_H