CGEM BOSS 6.6.5.g
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
42protected:
43 /**@name: Object implementation */
44 //@{
45 /// Standard Constructor
46 McCnvSvc(const std::string& name, ISvcLocator* svc);
47
48 /// Standard Destructor
49 virtual ~McCnvSvc();
50private:
51 /// access to the EventSelector
52 McEvtSelector* m_evtsel;
53};
54
55#endif // MCEVENTSELECTOR_MCCNVSVC_H
virtual StatusCode updateServiceState(IOpaqueAddress *pAddress)
Update state of the service.
Definition: McCnvSvc.cxx:73
static unsigned char storageType()
storage type
Definition: McCnvSvc.cxx:90
virtual StatusCode initialize()
Initialize the service.
Definition: McCnvSvc.cxx:44
virtual StatusCode queryInterface(const InterfaceID &riid, void **ppvInterface)
Override inherited queryInterface due to enhanced interface.
Definition: McCnvSvc.cxx:59
virtual ~McCnvSvc()
Standard Destructor.
Definition: McCnvSvc.cxx:40
virtual StatusCode finalize()
Definition: McCnvSvc.cxx:50
Forward and external declarations.
Definition: CalibDataSvc.h:35