|
ATLAS Offline Software
|
Go to the documentation of this file.
13 #ifndef SGCOMPS_PROXYPROVIDERSVC_H
14 # define SGCOMPS_PROXYPROVIDERSVC_H 1
18 #include "Gaudi/Property.h"
19 #include "GaudiKernel/StatusCode.h"
31 class TransientAddress;
45 typedef std::list<SG::TransientAddress*>
TAdList;
103 "names of the services to be use as address providers",
"OrderedSet<std::string>"};
126 #endif // !SGCOMPS_PROXYPROVIDERSVC_H
JetConstituentVector::iterator iterator
std::list< IAddressProvider * >::iterator pAPiterator
ProxyProviderSvc(const std::string &name, ISvcLocator *svcLoc)
Standard Service Constructor.
std::string find(const std::string &s)
return a remapped string
a proxy registry (a read/write dictionary)
virtual void addProvider(IAddressProvider *aProvider) override final
IAddressProvider manager functionality add a provider to the set of known ones.
std::vector< IProxyRegistry * > m_pendingLoad
List of pending stores on which to run preLoadProxies().
StatusCode doPreLoadProxies(IProxyRegistry &storeToModify)
TAdList::iterator TAdIterator
StringArrayProperty m_providerNames
property: the services declared as providers
manages the address providers and add proxies on demand to the store
virtual StatusCode initialize() override
Service boilerplate.
StatusCode addAddresses(IProxyRegistry &store, TAdList &tList)
Add lists of TADs to the store.
virtual StatusCode loadProxies(IProxyRegistry &storeToModify) override
add proxies to the store to modify (during Begin Event)
SG::DataProxy * addAddress(IProxyRegistry &storeToModify, SG::TransientAddress &&tad)
create a new Proxy, overriding CLID and/or key
ServiceHandle< IConversionSvc > m_pDataLoader
Persistency Service.
std::list< IAddressProvider * > m_providers
the providers we know about. WE DON'T OWN THEM
::StatusCode StatusCode
StatusCode definition for legacy code.
interface for IOA providers
DataProxy provides the registry services for StoreGate.
virtual SG::DataProxy * retrieveProxy(const CLID &id, const std::string &key, IProxyRegistry &storeToModify) override
Use a provider to create a proxy for ID/KEY.
uint32_t CLID
The Class ID type.
virtual StatusCode preLoadProxies(IProxyRegistry &storeToModify) override
IProxyProvider interface.
std::list< SG::TransientAddress * > TAdList
const EventContext & contextFromStore(IProxyRegistry &ds) const
Retrieve the EventContext saved in store DS.
virtual ~ProxyProviderSvc()
void providerNamesPropertyHandler(Gaudi::Details::PropertyBase &theProp)
the handler for m_providerNames