![]() |
ATLAS Offline Software
|
#include <TestStore.h>
Public Types | |
| typedef std::unordered_map< const void *, SG::DataProxy * > | tmap_t |
| typedef SG::SGKeyMap< SG::DataProxy * > | kmap_t |
| typedef std::unordered_map< TestStoreRemap, TestStoreRemap, TestStoreRemapHash > | remap_t |
| typedef std::mutex | mutex_t |
| typedef std::lock_guard< mutex_t > | lock_t |
Public Member Functions | |
| virtual std::vector< const SG::DataProxy * > | proxies () const override |
| virtual const std::string * | keyToString (sgkey_t) const override |
| virtual void | registerKey (sgkey_t, const std::string &, CLID) override |
| virtual const std::string & | name () const override |
| virtual SG::DataProxy * | proxy (const void *const pTransient) const override |
| virtual SG::DataProxy * | proxy (const CLID &id, const std::string &key) const override |
| virtual SG::DataProxy * | proxy_exact (SG::sgkey_t sgkey) const override |
| virtual sgkey_t | stringToKey (const std::string &str, CLID clid) override |
| virtual const std::string * | keyToString (sgkey_t key, CLID &clid) const override |
| virtual bool | tryELRemap (sgkey_t sgkey_in, size_t index_in, sgkey_t &sgkey_out, size_t &index_out) override |
| virtual StatusCode | addToStore (CLID, SG::DataProxy *proxy) override |
| virtual void | boundHandle (IResetable *handle) override |
| virtual void | unboundHandle (IResetable *handle) override |
| virtual SG::DataProxy * | recordObject (SG::DataObjectSharedPtr< DataObject > obj, const std::string &key, bool allowMods, bool returnExisting) override |
| template<class T > | |
| void | record (const T *p, const std::string &key) |
| template<class T > | |
| void | record (std::unique_ptr< T > up, const std::string &key) |
| void | remap (sgkey_t sgkey_in, sgkey_t sgkey_out, size_t index_in=0, size_t index_out=0) |
| template<class T > | |
| void | remap (const std::string &key_in, const std::string &key_out, size_t index_in=0, size_t index_out=0) |
| void | alias (SG::DataProxy *proxy, const std::string &newKey) |
| SG::DataProxy * | proxy (lock_t &, const void *const pTransient) const |
| SG::DataProxy * | proxy (lock_t &, const CLID &id, const std::string &key) const |
| SG::DataProxy * | record1 (lock_t &, const void *p, DataObject *obj, CLID clid, const std::string &key) |
Public Attributes | |
| tmap_t | m_tmap |
| kmap_t | m_kmap |
| remap_t | m_remap |
| SG::StringPool m_stringPool | ATLAS_THREAD_SAFE |
| std::vector< IResetable * > | m_boundHandles |
| std::vector< std::pair< CLID, std::string > > m_missedProxies | ATLAS_THREAD_SAFE |
| mutex_t | m_mutex |
Definition at line 50 of file TestStore.h.
Definition at line 121 of file TestStore.h.
| typedef std::lock_guard<mutex_t> SGTest::TestStore::lock_t |
Definition at line 135 of file TestStore.h.
| typedef std::mutex SGTest::TestStore::mutex_t |
Definition at line 134 of file TestStore.h.
| typedef std::unordered_map<TestStoreRemap, TestStoreRemap, TestStoreRemapHash> SGTest::TestStore::remap_t |
Definition at line 124 of file TestStore.h.
| typedef std::unordered_map<const void*, SG::DataProxy*> SGTest::TestStore::tmap_t |
Definition at line 118 of file TestStore.h.
|
overridevirtual |
| void SGTest::TestStore::alias | ( | SG::DataProxy * | proxy, |
| const std::string & | newKey | ||
| ) |
|
overridevirtual |
Definition at line 186 of file TestStore.cxx.
Definition at line 32 of file TestStore.cxx.
|
overridevirtual |
Definition at line 97 of file TestStore.cxx.
|
overridevirtual |
Definition at line 26 of file TestStore.cxx.
|
overridevirtual |
|
overridevirtual |
| SG::DataProxy * SGTest::TestStore::proxy | ( | lock_t & | , |
| const CLID & | id, | ||
| const std::string & | key | ||
| ) | const |
| SG::DataProxy * SGTest::TestStore::proxy | ( | lock_t & | , |
| const void *const | pTransient | ||
| ) | const |
|
overridevirtual |
|
inline |
| SG::DataProxy * SGTest::TestStore::record1 | ( | lock_t & | , |
| const void * | p, | ||
| DataObject * | obj, | ||
| CLID | clid, | ||
| const std::string & | key | ||
| ) |
Definition at line 203 of file TestStore.cxx.
|
overridevirtual |
Definition at line 46 of file TestStore.cxx.
Definition at line 38 of file TestStore.cxx.
|
inline |
Definition at line 107 of file TestStore.h.
|
overridevirtual |
Definition at line 193 of file TestStore.cxx.
|
mutable |
Definition at line 127 of file TestStore.h.
|
mutable |
Definition at line 132 of file TestStore.h.
| std::vector<IResetable*> SGTest::TestStore::m_boundHandles |
Definition at line 129 of file TestStore.h.
| kmap_t SGTest::TestStore::m_kmap |
Definition at line 122 of file TestStore.h.
|
mutable |
Definition at line 136 of file TestStore.h.
| remap_t SGTest::TestStore::m_remap |
Definition at line 125 of file TestStore.h.
| tmap_t SGTest::TestStore::m_tmap |
Definition at line 119 of file TestStore.h.
1.8.18