|  | ATLAS Offline Software
    | 
 
 
 
Go to the documentation of this file.
    5 #ifndef STOREGATE_ACTIVESTORESVC_H 
    6 #define STOREGATE_ACTIVESTORESVC_H 
    8 #include "GaudiKernel/Service.h" 
    9 #include "GaudiKernel/StatusCode.h" 
   33   using base_class::base_class;
 
   65   virtual std::vector<const SG::DataProxy*> 
proxies() 
const override;
 
   89                                const std::string& 
key,
 
   91                                bool returnExisting) 
override;
 
  125                                   CLID& clid) 
const override;
 
  141                     const std::string& 
str,
 
  152 #endif // STOREGATE_ACTIVESTORESVC_H 
  
virtual const std::string * keyToString(sgkey_t key, CLID &clid) const override
Find the string and CLID corresponding to a given key.
StoreGateSvc * activeStore() const
returns pointer to the active store as StoreGateSvc
virtual SG::DataProxy * proxy(const CLID &id, const std::string &key) const =0
Get proxy with given id and key.
virtual SG::DataProxy * proxy_exact(SG::sgkey_t sgkey) const override
Get proxy given a hashed key+clid.
A service that caches a pointer to the currently active store. It also implements the IProxyDict stor...
virtual std::vector< const SG::DataProxy * > proxies() const override
return the list of all current proxies in store
Simple smart pointer for Gaudi-style refcounted objects.
The Athena Transient Store API.
::StatusCode StatusCode
StatusCode definition for legacy code.
uint32_t CLID
The Class ID type.
virtual StatusCode initialize() override
Service initialization.
StoreGateSvc * activeStoreOOL() const
Gaudi::Property< std::string > m_storeName
uint32_t sgkey_t
Type used for hashed StoreGate key+CLID pairs.
virtual sgkey_t stringToKey(const std::string &str, CLID clid) override
Find the key for a string/CLID pair.
virtual const std::string * keyToString(sgkey_t key) const override
Find the string corresponding to a given key.
virtual void registerKey(sgkey_t key, const std::string &str, CLID clid) override
Remember an additional mapping from key to string/CLID.
void setStore(StoreGateSvc *s)
set the active store pointer: used by the event loop mgrs
StoreGateSvc * operator->() const
dereference operator to access the active store
static const std::string & storeName(const StoreID::type &s)
virtual SG::DataProxy * recordObject(SG::DataObjectSharedPtr< DataObject > obj, const std::string &key, bool allowMods, bool returnExisting) override
Record an object in the store.
StatusCode addToStore(CLID id, SG::DataProxy *proxy) override
Raw addition of a proxy to the store.
virtual SG::DataProxy * proxy(const void *const pTransient) const override
get proxy for a given data object address in memory