|
ATLAS Offline Software
|
Go to the documentation of this file.
7 #ifndef ATHVIEWS_SIMPLEVIEW_H
8 #define ATHVIEWS_SIMPLEVIEW_H 1
10 #include "GaudiKernel/ServiceHandle.h"
13 #include "AthLinks/ElementLink.h"
18 #include "tbb/concurrent_unordered_set.h"
39 SimpleView( std::string
const&
Name,
bool AllowFallThrough =
true, std::string
const& storeName =
"StoreGateSvc" );
46 std::string
viewKey (
const std::string&
key)
const;
63 void setFilter( std::vector< std::string >
const& inputFilter )
72 {
return proxy (pTransient); }
114 virtual std::vector<const SG::DataProxy*>
proxies()
const;
142 const std::string&
key,
144 bool returnExisting);
172 sgkey_t& sgkey_out,
size_t& index_out);
174 virtual const std::string&
name()
const;
183 std::string
dump(
const std::string&
indent =
"" )
const;
200 #endif // ATHVIEW_SIMPLEVIEW_H
std::vector< std::string > m_fallFilter
virtual StatusCode addToStore(CLID id, SG::DataProxy *proxy)
Add a new proxy to the store.
virtual bool tryELRemap(sgkey_t sgkey_in, size_t index_in, sgkey_t &sgkey_out, size_t &index_out)
Test to see if the target of an ElementLink has moved.
virtual SG::DataProxy * deep_proxy(const void *const pTransient) const
get proxy for a given data object address in memory, but performs a deep search among all possible 's...
virtual IStringPool::sgkey_t stringToKey(const std::string &str, CLID clid)
virtual void unboundHandle(IResetable *handle)
Tell the store that a handle has been unbound from a proxy.
SG::sgkey_t sgkey_t
Type of the keys.
std::string dump(const std::string &indent="") const
virtual void boundHandle(IResetable *handle)
Tell the store that a handle has been bound to a proxy.
std::set< const SG::View * > m_parents
a resetable object (e.g. a SG DataHandle)
virtual std::vector< const SG::DataProxy * > proxies() const
Return the list of all current proxies in store.
virtual void registerKey(IStringPool::sgkey_t key, const std::string &str, CLID clid)
virtual SG::DataProxy * proxy(const CLID &id, const std::string &key) const
Get proxy with given id and key.
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual const std::set< const SG::View * > & getParentLinks() const
returns the links to the previously used views
Very simple pass-through implementation of IProxyDict.
DataProxy provides the registry services for StoreGate.
const ElementLink< TrigRoiDescriptorCollection > & getROI() const
uint32_t CLID
The Class ID type.
virtual SG::DataProxy * proxy_exact(SG::sgkey_t sgkey) const
Get proxy given a hashed key+clid.
std::string viewKey(const std::string &key) const
Construct a key as used in the parent store.
virtual SG::DataProxy * recordObject(SG::DataObjectSharedPtr< DataObject > obj, const std::string &key, bool allowMods, bool returnExisting)
Record an object in the store.
virtual const std::string * keyToString(IStringPool::sgkey_t key) const
uint32_t sgkey_t
Type used for hashed StoreGate key+CLID pairs.
virtual const std::string & name() const
void setFilter(std::vector< std::string > const &inputFilter)
Set a filtering rule for anything loaded via fallthrough.
void setROI(const ElementLink< TrigRoiDescriptorCollection > &roi)
virtual void linkParent(const IProxyDict *parent)
links to the previously used views through these parent views additional data objects become availabl...
ElementLink< TrigRoiDescriptorCollection > m_roi
Smart pointer to manage DataObject reference counts.
ServiceHandle< StoreGateSvc > m_store
virtual SG::DataProxy * findProxy(const CLID &id, const std::string &key, const bool allowFallThrough) const