BOSS
7.0.1
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/RawDataProviderSvc/RawDataProviderSvc-00-03-46/RawDataProviderSvc/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
8
class
SvcDisable
{
9
public
:
10
SvcDisable
(
const
std::string& svcName) :
m_svcName
(svcName) {}
11
std::string
m_svcName
;
12
};
13
14
// RawDataProvider Base Class
15
class
RawDataProviderBase
{
16
public
:
17
// tianhl for mt
18
//RawDataProviderBase();
19
// tianhl for mt
20
RawDataProviderBase
(
const
char
* name );
21
virtual
~RawDataProviderBase
(){};
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
33
RawDataProviderBase
();
34
// tianhl for mt
35
ISvcLocator*
m_svcLocator
;
36
IMessageSvc*
m_msgSvc
;
37
std::string
m_name
;
38
39
};
40
#endif
RawDataProviderBase
Definition:
Event/RawDataProviderSvc/RawDataProviderSvc-00-03-46/RawDataProviderSvc/RawDataProviderBase.h:15
RawDataProviderBase::m_msgSvc
IMessageSvc * m_msgSvc
Definition:
Event/RawDataProviderSvc/RawDataProviderSvc-00-03-46/RawDataProviderSvc/RawDataProviderBase.h:36
RawDataProviderBase::m_name
std::string m_name
Definition:
Event/RawDataProviderSvc/RawDataProviderSvc-00-03-46/RawDataProviderSvc/RawDataProviderBase.h:37
RawDataProviderBase::setSvcLocator
void setSvcLocator(ISvcLocator *svcLoc)
Definition:
Event/RawDataProviderSvc/RawDataProviderSvc-00-03-46/RawDataProviderSvc/RawDataProviderBase.h:27
RawDataProviderBase::setMsgName
void setMsgName(const char *name)
Definition:
Event/RawDataProviderSvc/RawDataProviderSvc-00-03-46/RawDataProviderSvc/RawDataProviderBase.h:29
RawDataProviderBase::m_svcLocator
ISvcLocator * m_svcLocator
Definition:
Event/RawDataProviderSvc/RawDataProviderSvc-00-03-46/RawDataProviderSvc/RawDataProviderBase.h:35
RawDataProviderBase::initialize
StatusCode initialize(ISvcLocator *svcLoc=0, IMessageSvc *pMsg=0)
Definition:
RawDataProviderBase.cxx:26
RawDataProviderBase::setMsgSvc
void setMsgSvc(IMessageSvc *svc)
Definition:
Event/RawDataProviderSvc/RawDataProviderSvc-00-03-46/RawDataProviderSvc/RawDataProviderBase.h:28
RawDataProviderBase::RawDataProviderBase
RawDataProviderBase()
Definition:
RawDataProviderBase.cxx:12
RawDataProviderBase::~RawDataProviderBase
virtual ~RawDataProviderBase()
Definition:
Event/RawDataProviderSvc/RawDataProviderSvc-00-03-46/RawDataProviderSvc/RawDataProviderBase.h:21
SvcDisable
Exception class.
Definition:
Event/RawDataProviderSvc/RawDataProviderSvc-00-03-46/RawDataProviderSvc/RawDataProviderBase.h:8
SvcDisable::SvcDisable
SvcDisable(const std::string &svcName)
Definition:
Event/RawDataProviderSvc/RawDataProviderSvc-00-03-46/RawDataProviderSvc/RawDataProviderBase.h:10
SvcDisable::m_svcName
std::string m_svcName
Definition:
Event/RawDataProviderSvc/RawDataProviderSvc-00-03-46/RawDataProviderSvc/RawDataProviderBase.h:11
source
Event
RawDataProviderSvc
RawDataProviderSvc-00-03-46
RawDataProviderSvc
RawDataProviderBase.h
Generated by
1.9.6