ATLAS Offline Software
Loading...
Searching...
No Matches
IProxyProviderSvc.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
10
11// $Id: IProxyProviderSvc.h,v 1.9 2007-06-23 01:12:06 calaf Exp $
12
13#ifndef ATHENAKERNEL_IPROXYPROVIDERSVC_H
14# define ATHENAKERNEL_IPROXYPROVIDERSVC_H
15
16#include <string>
17#include <list>
19#include "GaudiKernel/IService.h"
20#include "GaudiKernel/StatusCode.h"
21#include "GaudiKernel/ClassID.h"
22#include "GaudiKernel/EventContext.h"
23
25class IProxyRegistry; //this is the store
26
27namespace SG {
28 class DataProxy;
29 class TransientAddress;
30}
31
32class IOpaqueAddress;
33
34class IProxyProviderSvc : virtual public IService {
35public:
37
39 virtual StatusCode preLoadProxies(IProxyRegistry& dataStore) = 0;
40
42 virtual StatusCode loadProxies(IProxyRegistry& dataStore) = 0;
43
47 virtual SG::DataProxy* retrieveProxy(const CLID& id,
48 const std::string& key,
49 IProxyRegistry& dataStore) = 0;
50
53 virtual void addProvider(IAddressProvider* aProvider) = 0;
54
55 virtual ~IProxyProviderSvc() {}
56};
57
58
59#endif // ATHENAKERNEL_IPROXYPROVIDERSVC_H
uint32_t CLID
The Class ID type.
DataProxy provides the registry services for StoreGate.
interface for IOA providers
DeclareInterfaceID(IProxyProviderSvc, 1, 0)
virtual StatusCode preLoadProxies(IProxyRegistry &dataStore)=0
add proxies to the store before Begin Event:
virtual void addProvider(IAddressProvider *aProvider)=0
IAddressProvider manager functionality add a provider to the set of known ones.
virtual StatusCode loadProxies(IProxyRegistry &dataStore)=0
add new proxies to store every Event:
virtual SG::DataProxy * retrieveProxy(const CLID &id, const std::string &key, IProxyRegistry &dataStore)=0
Use a provider to create a proxy for ID/KEY.
a proxy registry (a read/write dictionary)
Forward declaration.