BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
BesTimerSvc.h
Go to the documentation of this file.
1// this is -*- c++ -*-
2// $Id: BesTimerSvc.h,v 1.4 2011/02/18 04:23:58 maqm Exp $
3// $Name: BesTimerSvc-00-00-12 $
4#ifndef BesTIMERSVC_H_
5#define BesTIMERSVC_H_
6#include <vector>
7#include "GaudiKernel/MsgStream.h"
8#include "GaudiKernel/Service.h"
9#include "GaudiKernel/SmartDataPtr.h"
10#include "GaudiKernel/IInterface.h"
13
14//extern const IID & IID_IBesTimerSvc;
15
16class BesTimerSvc : public Service, virtual public IBesTimerSvc {
17public:
18
19 BesTimerSvc( const std::string& name, ISvcLocator* svcloc );
21
22 virtual StatusCode queryInterface(const InterfaceID& riid, void** ppvUnknown);
23 virtual StatusCode initialize ( );
24 virtual StatusCode finalize ( );
25 virtual BesTimer* addItem(const std::string &name);
26 virtual std::vector < BesTimer* >::iterator begin( void );
27 virtual std::vector < BesTimer* >::iterator end( void );
28 virtual void print( );
29
30 // inline BesTimer* BesTimerSvc::findItem(const std::string& name);
31
32private:
33 std::vector< BesTimer* > m_itemList;
34
35};
36
37
38#endif // BesTIMER_H
virtual std::vector< BesTimer * >::iterator begin(void)
virtual BesTimer * addItem(const std::string &name)
Definition: BesTimerSvc.cxx:56
virtual StatusCode queryInterface(const InterfaceID &riid, void **ppvUnknown)
Definition: BesTimerSvc.cxx:25
virtual StatusCode initialize()
Definition: BesTimerSvc.cxx:34
virtual void print()
Definition: BesTimerSvc.cxx:70
virtual StatusCode finalize()
Definition: BesTimerSvc.cxx:47
virtual std::vector< BesTimer * >::iterator end(void)