ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
AthenaKernel
AthenaKernel
IProxyRegistry.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
10
11
#ifndef ATHENAKERNEL_IPROXYREGISTRY_H
12
# define ATHENAKERNEL_IPROXYREGISTRY_H
13
14
//<<<<<< INCLUDES >>>>>>
15
#include "GaudiKernel/StatusCode.h"
16
#include "GaudiKernel/ClassID.h"
17
#include "
AthenaKernel/StoreID.h
"
18
#include "
SGCore/sgkey_t.h
"
19
#include <string>
20
21
//<<<<<< CLASS FORWARD DECLARATIONS >>>>>>
22
namespace
SG
{
23
class
DataProxy
;
24
class
TransientAddress
;
25
}
26
27
class
IProxyRegistry
{
28
public
:
30
virtual
StatusCode
addToStore
(
const
CLID
&
id
,
SG::DataProxy
*
proxy
) = 0;
31
32
virtual
StatusCode
addAlias
(
const
std::string& key,
SG::DataProxy
*
proxy
) = 0;
33
34
virtual
StoreID::type
storeID
()
const
= 0;
//FIXME this should not be here
35
37
virtual
SG::DataProxy
*
proxy
(
const
SG::TransientAddress
* tAD)
const
= 0;
38
40
virtual
SG::DataProxy
*
proxy
(
const
CLID
&
id
,
const
std::string& key)
const
=0;
41
44
virtual
SG::DataProxy
*
proxy_exact
(
const
CLID
&
id
,
45
const
std::string& key)
const
= 0;
46
49
virtual
SG::DataProxy
*
proxy_exact
(
SG::sgkey_t
sgkey)
const
= 0;
50
51
virtual
~IProxyRegistry
() {}
52
};
53
#endif
// ATHENAKERNEL_IPROXYREGISTRY_H
CLID
uint32_t CLID
The Class ID type.
Definition
Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
StoreID.h
IProxyRegistry
a proxy registry (a read/write dictionary)
Definition
IProxyRegistry.h:27
IProxyRegistry::proxy
virtual SG::DataProxy * proxy(const CLID &id, const std::string &key) const =0
get proxy with given id. Returns 0 to flag failure
IProxyRegistry::storeID
virtual StoreID::type storeID() const =0
IProxyRegistry::addToStore
virtual StatusCode addToStore(const CLID &id, SG::DataProxy *proxy)=0
add proxy to store.
IProxyRegistry::proxy_exact
virtual SG::DataProxy * proxy_exact(SG::sgkey_t sgkey) const =0
get proxy with given key.
IProxyRegistry::~IProxyRegistry
virtual ~IProxyRegistry()
Definition
IProxyRegistry.h:51
IProxyRegistry::proxy_exact
virtual SG::DataProxy * proxy_exact(const CLID &id, const std::string &key) const =0
get proxy with given id.
IProxyRegistry::proxy
virtual SG::DataProxy * proxy(const SG::TransientAddress *tAD) const =0
locate a proxy for a given TransientAddress
IProxyRegistry::addAlias
virtual StatusCode addAlias(const std::string &key, SG::DataProxy *proxy)=0
SG::DataProxy
Definition
DataProxy.h:45
SG::TransientAddress
Definition
TransientAddress.h:34
StoreID::type
type
Definition
StoreID.h:24
SG
Forward declaration.
Definition
CaloCellPacker_400_500.h:32
SG::sgkey_t
uint32_t sgkey_t
Type used for hashed StoreGate key+CLID pairs.
Definition
sgkey_t.h:32
sgkey_t.h
Generated on
for ATLAS Offline Software by
1.17.0