5#ifndef ROOTAUXDYNSTORE_H
6#define ROOTAUXDYNSTORE_H
20 bool standalone, std::recursive_mutex* iomtx =
nullptr);
55 virtual size_t size()
const override;
66 typedef AthContainers_detail::mutex
mutex_t;
67 typedef AthContainers_detail::lock_guard<mutex_t>
guard_t;
An auxiliary data store that holds data internally.
size_t size() const
Number of registered mappings.
AthContainers_detail::lock_guard< mutex_t > guard_t
RootAuxDynStore(RootAuxDynReader &reader, long long entry, bool standalone, std::recursive_mutex *iomtx=nullptr)
virtual const void * getIOData(SG::auxid_t auxid) const override
implementation of the IAuxStoreIO interface
virtual const void * getData(SG::auxid_t auxid) const override
implementation of the IAuxStore interface
virtual void * getDecoration(SG::auxid_t auxid, size_t size, size_t capacity) override
Return the data vector for one aux data decoration item.
virtual size_t size() const override
Return the number of elements in the store.
virtual bool readData(SG::auxid_t auxid)=0
read data from ROOT and store it in m_vecs. Returns False on error
std::recursive_mutex * m_iomutex
Optional mutex used to serialize I/O with RootStorageSvc (not owned).
virtual ~RootAuxDynStore()
virtual bool isDecoration(SG::auxid_t auxid) const override
Test if a particular variable is tagged as a decoration.
virtual const SG::IAuxTypeVector * getVector(SG::auxid_t auxid) const override
AthContainers_detail::mutex mutex_t
Mutex used to synchronize modifications to the cache vector.
Abstract interface for manipulating vectors of arbitrary types.
AuxStoreInternal(bool standalone=false)
An auxiliary data store that holds data internally.
size_t auxid_t
Identifier for a particular aux data item.