BOSS 7.1.2
BESIII Offline Software System
Loading...
Searching...
No Matches
McCnvSvc.h
Go to the documentation of this file.
1// ============================================================
2// McCnvSvc.h
3// ------------------------------------------------------------
4//
5// Package : McEventSelector
6//
7// Author : Marjorie Shapiro
8// Modified Nov 10 I.H.
9// ============================================================
10#ifndef MCEVENTSELECTOR_MCCNVSVC_H
11#define MCEVENTSELECTOR_MCCNVSVC_H 1
12
13#include "GaudiKernel/ConversionSvc.h"
14
15class McEvtSelector;
16
17// Forward declarations
18template <class TYPE> class SvcFactory;
19
20static const InterfaceID IID_IMcCnvSvc("IMcCnvSvc", 1, 0);
21
22
23class McCnvSvc : public ConversionSvc {
24 /// Allow the factory class access to the constructor
25 friend class SvcFactory<McCnvSvc>;
26public:
27 /**@name McCnvSvc overrides */
28 //@{
29 /// Initialize the service.
30 virtual StatusCode initialize();
31
32 virtual StatusCode finalize();
33
34 /// Override inherited queryInterface due to enhanced interface
35 virtual StatusCode queryInterface(const InterfaceID& riid, void** ppvInterface);
36
37 /// Update state of the service
38 virtual StatusCode updateServiceState(IOpaqueAddress* pAddress);
39 /// storage type
40 static unsigned char storageType();
41
42//protected:
43public:
44 /**@name: Object implementation */
45 //@{
46 /// Standard Constructor
47 McCnvSvc(const std::string& name, ISvcLocator* svc);
48
49 /// Standard Destructor
50 virtual ~McCnvSvc();
51private:
52 /// access to the EventSelector
53 McEvtSelector* m_evtsel;
54};
55
56#endif // MCEVENTSELECTOR_MCCNVSVC_H
virtual StatusCode updateServiceState(IOpaqueAddress *pAddress)
Update state of the service.
Definition McCnvSvc.cxx:76
static unsigned char storageType()
storage type
Definition McCnvSvc.cxx:93
virtual StatusCode initialize()
Initialize the service.
Definition McCnvSvc.cxx:47
virtual StatusCode queryInterface(const InterfaceID &riid, void **ppvInterface)
Override inherited queryInterface due to enhanced interface.
Definition McCnvSvc.cxx:62
virtual ~McCnvSvc()
Standard Destructor.
Definition McCnvSvc.cxx:43
virtual StatusCode finalize()
Definition McCnvSvc.cxx:53
McCnvSvc(const std::string &name, ISvcLocator *svc)
Standard Constructor.
Definition McCnvSvc.cxx:37
Forward and external declarations.