|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef EVENTCONTAINERS_InternalOfflineMap_H
6 #define EVENTCONTAINERS_InternalOfflineMap_H
11 #include <unordered_map>
30 virtual void wait()
const override;
44 std::unordered_map<IdentifierHash::value_type, const void*>
m_fullMap;
virtual InternalConstItr cend() const override
virtual void wait() const override
virtual void * removeCollection(IdentifierHash hashId) override
InternalOfflineMap(size_t max)
std::atomic< bool > m_needsupdate ATLAS_THREAD_SAFE
virtual bool tryAddFromCache(IdentifierHash hashId, EventContainers::IDC_WriteHandleBase &lock) override
bool const RAWDATA *ch2 const
virtual size_t fullSize() const noexcept override
virtual bool insert(IdentifierHash hashId, const void *ptr) override
std::unordered_map< IdentifierHash::value_type, const void * > m_fullMap
std::mutex m_waitMutex ATLAS_THREAD_SAFE
virtual size_t numberOfCollections() const override
virtual ~InternalOfflineMap()=default
::StatusCode StatusCode
StatusCode definition for legacy code.
void deleter_f(const void *p)
virtual const std::vector< hashPair > & getAllHashPtrPair() const override
virtual void destructor(deleter_f *) noexcept override
virtual StatusCode fetchOrCreate(IdentifierHash hashId) override
virtual StatusCode addLock(IdentifierHash hashId, const void *ptr) override
virtual InternalConstItr cbegin() const override
std::vector< I_InternalIDC::hashPair > m_map ATLAS_THREAD_SAFE
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
Define macros for attributes used to control the static checker.
virtual std::vector< IdentifierHash > getAllCurrentHashes() const override
virtual InternalConstItr indexFind(IdentifierHash hashId) const override
std::vector< hashPair >::const_iterator InternalConstItr
virtual const void * findIndexPtr(IdentifierHash hashId) const noexcept override
virtual void cleanUp(deleter_f *deleter) noexcept override