ATLAS Offline Software
Loading...
Searching...
No Matches
AthenaSharedWriter.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef ATHENASHAREDWRITER_H
6#define ATHENASHAREDWRITER_H
7
12
15
16#include "GaudiKernel/IConversionSvc.h"
17
22public: // Constructor and Destructor
24 AthenaSharedWriter(const std::string& name, ISvcLocator* pSvcLocator);
26 virtual ~AthenaSharedWriter() = default;
27
28public:
30 virtual StatusCode initialize() override;
31 virtual StatusCode execute () override;
32 virtual StatusCode finalize() override;
33
34private: // properties
35 IntegerProperty m_numberOfClients{this,"NumberOfClients",1};
36
37private:
38 ServiceHandle<IConversionSvc> m_cnvSvc{this,"ConversionService","AthenaPoolSharedIOCnvSvc"};
39 ServiceHandle<IAthenaSharedWriterSvc> m_sharedWriterSvc{this,"AthenaRootSharedWriterSvc","AthenaRootSharedWriterSvc"};
40};
41
42#endif
AthFilterAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
virtual ~AthenaSharedWriter()=default
Destructor.
IntegerProperty m_numberOfClients
AthenaSharedWriter(const std::string &name, ISvcLocator *pSvcLocator)
Standard Service Constructor.
virtual StatusCode finalize() override
ServiceHandle< IConversionSvc > m_cnvSvc
ServiceHandle< IAthenaSharedWriterSvc > m_sharedWriterSvc
virtual StatusCode initialize() override
Gaudi Service Interface method implementations:
virtual StatusCode execute() override