BOSS 7.1.2
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.5 2022/01/12 04:44:15 maqm Exp $
3// $Name: BesTimerSvc-00-01-00 $
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
16//class BesTimerSvc : public Service, virtual public IBesTimerSvc {
17class BesTimerSvc : public extends<Service, IBesTimerSvc> {
18public:
19
20 BesTimerSvc( const std::string& name, ISvcLocator* svcloc );
22
23// virtual StatusCode queryInterface(const InterfaceID& riid, void** ppvUnknown);
24 virtual StatusCode initialize ( );
25 virtual StatusCode finalize ( );
26 virtual BesTimer* addItem(const std::string &name);
27 virtual std::vector < BesTimer* >::iterator begin( void );
28 virtual std::vector < BesTimer* >::iterator end( void );
29 virtual void print( );
30
31 // inline BesTimer* BesTimerSvc::findItem(const std::string& name);
32
33private:
34 std::vector< BesTimer* > m_itemList;
35
36};
37
38
39#endif // BesTIMER_H
virtual std::vector< BesTimer * >::iterator begin(void)
virtual BesTimer * addItem(const std::string &name)
virtual StatusCode initialize()
virtual void print()
virtual StatusCode finalize()
virtual std::vector< BesTimer * >::iterator end(void)
BesTimerSvc(const std::string &name, ISvcLocator *svcloc)