BOSS 7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
Utilities/BesTimerSvc/BesTimerSvc-00-00-12/BesTimerSvc/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"
11#include "BesTimerSvc/IBesTimerSvc.h"
12#include "BesTimerSvc/BesTimer.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 StatusCode queryInterface(const InterfaceID &riid, void **ppvUnknown)
virtual std::vector< BesTimer * >::iterator begin(void)
virtual void print()
virtual StatusCode finalize()
virtual BesTimer * addItem(const std::string &name)
virtual StatusCode initialize()
virtual std::vector< BesTimer * >::iterator end(void)
BesTimerSvc(const std::string &name, ISvcLocator *svcloc)