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#include <unordered_map>
19
20class TServerSocket;
21class TMonitor;
22
26class AthenaRootSharedWriterSvc : public extends<AthService, IAthenaSharedWriterSvc> {
27 // Allow the factory class access to the constructor
29
30public: // Constructor and Destructor
32 AthenaRootSharedWriterSvc(const std::string& name, ISvcLocator* pSvcLocator);
34 virtual ~AthenaRootSharedWriterSvc() = default;
35
36public:
38 virtual StatusCode initialize() override;
39 virtual StatusCode stop() override;
40 virtual StatusCode finalize() override;
41
42 virtual StatusCode share(int numClients = 0, bool motherClient = false) override;
43
44private:
45 ServiceHandle<AthenaPoolSharedIOCnvSvc> m_cnvSvc{this,"AthenaPoolSharedIOCnvSvc","AthenaPoolSharedIOCnvSvc"};
46
47 TServerSocket* m_rootServerSocket;
48 TMonitor* m_rootMonitor;
49 THashTable m_rootMergers;
50 std::unordered_map<TClass*, void*> m_dummyCache;
54};
55
56#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:
std::unordered_map< TClass *, void * > m_dummyCache
AthenaRootSharedWriterSvc(const std::string &name, ISvcLocator *pSvcLocator)
Standard Service Constructor.
virtual ~AthenaRootSharedWriterSvc()=default
Destructor.
ServiceHandle< AthenaPoolSharedIOCnvSvc > m_cnvSvc