ATLAS Offline Software
Loading...
Searching...
No Matches
IDataShare.h
Go to the documentation of this file.
1// This file's extension implies that it's C, but it's really -*- C++ -*-.
2
3/*
4 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
5*/
6
12
13#ifndef ATHENAKERNEL_IDATASHARE_H
14#define ATHENAKERNEL_IDATASHARE_H 1
15
16#include "GaudiKernel/StatusCode.h"
17#include "GaudiKernel/INamedInterface.h"
18
23class IDataShare : virtual public INamedInterface
24{
25public:
27
31 virtual ~IDataShare ();
32
37 virtual StatusCode makeServer(int num) = 0;
38
43 virtual StatusCode makeClient(int num) = 0;
44
48 virtual StatusCode readData() = 0;
49
53 virtual StatusCode commitCatalog() = 0;
54};
55
56
57#endif // not ATHENAKERNEL_IDATASHARE_H
Abstract interface for sharing data.
Definition IDataShare.h:24
virtual ~IDataShare()
Destructor.
DeclareInterfaceID(IDataShare, 1, 0)
virtual StatusCode readData()=0
Read the data.
virtual StatusCode makeServer(int num)=0
Make this a server.
virtual StatusCode makeClient(int num)=0
Make this a client.
virtual StatusCode commitCatalog()=0
Commit Catalog.