ATLAS Offline Software
Loading...
Searching...
No Matches
AthenaRootSharedWriterSvc.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef ATHENAROOTSHAREDWRITERSVC_H
6#define ATHENAROOTSHAREDWRITERSVC_H
7
12
16
17#include "THashTable.h"
18
19class TServerSocket;
20class TMonitor;
21
25class AthenaRootSharedWriterSvc : public extends<AthService, IAthenaSharedWriterSvc> {
26 // Allow the factory class access to the constructor
28
29public: // Constructor and Destructor
31 AthenaRootSharedWriterSvc(const std::string& name, ISvcLocator* pSvcLocator);
33 virtual ~AthenaRootSharedWriterSvc() = default;
34
35public:
37 virtual StatusCode initialize() override;
38 virtual StatusCode stop() override;
39 virtual StatusCode finalize() override;
40
41 virtual StatusCode share(int numClients = 0, bool motherClient = false) override;
42
43private:
44 ServiceHandle<AthenaPoolSharedIOCnvSvc> m_cnvSvc{this,"AthenaPoolSharedIOCnvSvc","AthenaPoolSharedIOCnvSvc"};
45
46 TServerSocket* m_rootServerSocket;
47 TMonitor* m_rootMonitor;
48 THashTable m_rootMergers;
52};
53
54#endif
This file contains the class definition for the AthenaPoolSharedIOCnvSvc class.
virtual StatusCode stop() override
virtual StatusCode finalize() override
virtual StatusCode share(int numClients=0, bool motherClient=false) override
virtual StatusCode initialize() override
Gaudi Service Interface method implementations:
AthenaRootSharedWriterSvc(const std::string &name, ISvcLocator *pSvcLocator)
Standard Service Constructor.
virtual ~AthenaRootSharedWriterSvc()=default
Destructor.
ServiceHandle< AthenaPoolSharedIOCnvSvc > m_cnvSvc