BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
RawDataProviderBase.h
Go to the documentation of this file.
1#ifndef RAWDATAPROVIDERBASE_H
2#define RAWDATAPROVIDERBASE_H
3
4#include "GaudiKernel/ISvcLocator.h"
5#include "GaudiKernel/IMessageSvc.h"
6
7/// Exception class
8class SvcDisable {
9 public:
10 SvcDisable(const std::string& svcName) : m_svcName(svcName) {}
11 std::string m_svcName;
12};
13
14// RawDataProvider Base Class
16 public:
17 // tianhl for mt
18 //RawDataProviderBase();
19 // tianhl for mt
20 RawDataProviderBase( const char* name );
22
23 // initialize service point
24 StatusCode initialize(ISvcLocator* svcLoc=0, IMessageSvc* pMsg=0);
25
26 // set point of service
27 void setSvcLocator(ISvcLocator* svcLoc) { m_svcLocator=svcLoc; };
28 void setMsgSvc(IMessageSvc* svc) { m_msgSvc=svc; };
29 void setMsgName(const char* name) { m_name = std::string(name); };
30
31 protected:
32 // tianhl for mt
34 // tianhl for mt
35 ISvcLocator* m_svcLocator;
36 IMessageSvc* m_msgSvc;
37 std::string m_name;
38
39};
40#endif
void setSvcLocator(ISvcLocator *svcLoc)
void setMsgName(const char *name)
StatusCode initialize(ISvcLocator *svcLoc=0, IMessageSvc *pMsg=0)
void setMsgSvc(IMessageSvc *svc)
ISvcLocator * m_svcLocator
Exception class.
SvcDisable(const std::string &svcName)
std::string m_svcName