6#ifndef EVENTCONTAINERS_IDENTIFIABLECONTAINERBASE_H
7#define EVENTCONTAINERS_IDENTIFIABLECONTAINERBASE_H
26 std::unique_ptr<I_InternalIDC>
m_link;
31 return m_link->tryAddFromCache(hashId, lock); }
37 StatusCode
fetchOrCreate(
const std::vector<IdentifierHash> &hashIds) {
return m_link->fetchOrCreate(hashIds); }
Define macros for attributes used to control the static checker.
bool tryAddFromCache(IdentifierHash hashId)
const void * indexFindPtr(IdentifierHash hashId) const
std::vector< IdentifierHash > Hash_Container
std::unique_ptr< I_InternalIDC > m_link
IdentifiableContainerBase(EventContainers::IdentifiableCacheBase *cache)
EventContainers::IdentifiableCacheBase IdentifiableCacheBase
StatusCode fetchOrCreate(const std::vector< IdentifierHash > &hashIds)
size_t numberOfCollections() const
bool tryAddFromCache(IdentifierHash hashId, EventContainers::IDC_WriteHandleBase &lock)
~IdentifiableContainerBase()=default
bool insert(IdentifierHash hashId, const void *ptr)
std::vector< IdentifierHash > GetAllCurrentHashes() const
void cleanup(deleter_f *deleter)
StatusCode fetchOrCreate(IdentifierHash hashId)
This is a "hash" representation of an Identifier.
void deleter_f(const void *p)