5#ifndef EVENTCONTAINERS_I_INTERNALIDC_H
6#define EVENTCONTAINERS_I_INTERNALIDC_H
9#include "GaudiKernel/StatusCode.h"
31 return first < b.first;
44 virtual void wait()
const = 0;
virtual size_t fullSize() const noexcept=0
virtual void * removeCollection(IdentifierHash hashId)=0
virtual ~I_InternalIDC()=default
virtual void cleanUp(deleter_f *) noexcept=0
virtual void wait() const =0
virtual bool tryAddFromCache(IdentifierHash hashId)=0
virtual bool insert(IdentifierHash hashId, const void *ptr)=0
std::vector< hashPair >::const_iterator InternalConstItr
virtual InternalConstItr cbegin() const =0
virtual size_t numberOfCollections() const =0
virtual bool tryAddFromCache(IdentifierHash hashId, EventContainers::IDC_WriteHandleBase &lock)=0
virtual void destructor(deleter_f *) noexcept=0
virtual std::vector< IdentifierHash > getAllCurrentHashes() const =0
virtual StatusCode fetchOrCreate(IdentifierHash hashId)=0
virtual const std::vector< hashPair > & getAllHashPtrPair() const =0
virtual InternalConstItr indexFind(IdentifierHash hashId) const =0
virtual StatusCode addLock(IdentifierHash hashId, const void *ptr)=0
EventContainers::hashPair< void > hashPair
void deleter_f(const void *p)
virtual InternalConstItr cend() const =0
virtual const void * findIndexPtr(IdentifierHash hashId) const noexcept=0
This is a "hash" representation of an Identifier.
bool operator<(const hashPair &b) const noexcept
constexpr hashPair(IdentifierHash::value_type f, const T *s)
IdentifierHash::value_type first