BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/RawDataProviderSvc/include/RawDataProviderSvc/RawDataProviderBase.h
Go to the documentation of this file.
1#ifndef RAWDATAPROVIDERBASE_H
2#define RAWDATAPROVIDERBASE_H
3
4#include "GaudiKernel/IMessageSvc.h"
5#include "GaudiKernel/ISvcLocator.h"
6
7/// Exception class
8class SvcDisable {
9public:
10 SvcDisable( const std::string& svcName ) : m_svcName( svcName ) {}
11 std::string m_svcName;
12};
13
14// RawDataProvider Base Class
16public:
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
31protected:
32 // tianhl for mt
34 // tianhl for mt
35 ISvcLocator* m_svcLocator;
36 IMessageSvc* m_msgSvc;
37 std::string m_name;
38};
39#endif
StatusCode initialize(ISvcLocator *svcLoc=0, IMessageSvc *pMsg=0)
RawDataProviderBase(const char *name)