ATLAS Offline Software
Loading...
Searching...
No Matches
AuxStoreInternal.h File Reference

An auxiliary data store that holds data internally. More...

Include dependency graph for AuxStoreInternal.h:

Go to the source code of this file.

Namespaces

namespace  SG
 Forward declaration.

Typedefs

typedef AthContainers_detail::mutex SG::mutex_t
 Mutex used to synchronize modifications to the cache vector.
typedef AthContainers_detail::lock_guard< mutex_tSG::guard_t

Functions

 SG::AuxStoreInternal (bool standalone=false)
 An auxiliary data store that holds data internally.
virtual SG::~AuxStoreInternal ()
 Destructor.
 SG::AuxStoreInternal (const AuxStoreInternal &orig)
 Copy constructor.
AuxStoreInternalSG::operator= (const AuxStoreInternal &)=delete
 Don't allow assignment.
bool SG::standalone () const
 Return the standalone flag.
virtual const void * SG::getData (SG::auxid_t auxid) const override
 Return the data vector for one aux data item.
virtual const IAuxTypeVectorSG::getVector (SG::auxid_t auxid) const override
 Return vector interface for one aux data item.
virtual void * SG::getData (SG::auxid_t auxid, size_t size, size_t capacity) override
 Return the data vector for one aux data item.
virtual void * SG::getDecoration (auxid_t auxid, size_t size, size_t capacity) override
 Return the data vector for one aux data decoration item.
virtual bool SG::resize (size_t sz) override
 Change the size of all aux data vectors.
virtual void SG::reserve (size_t sz) override
 Change the capacity of all aux data vectors.
virtual void SG::shift (size_t pos, ptrdiff_t offs) override
 Shift the elements of the container.
virtual bool SG::insertMove (size_t pos, IAuxStore &other, const SG::auxid_set_t &ignore=SG::auxid_set_t(0)) override
 Move all elements from other to this store.
const SG::auxid_set_tSG::getAuxIDs () const
 Return a set of identifiers for existing data items for this object.
const SG::auxid_set_tSG::getDecorIDs () const
 Return a set of identifiers for decorations for this object.
virtual SG::auxid_set_t SG::getCopyIDs (bool warnUnlocked=false) const override
 Return the set of variables to copy in a deep copy.
virtual bool SG::isDecoration (auxid_t auxid) const override
 Test if a particular variable is tagged as a decoration.
virtual const SG::auxid_set_tSG::getWritableAuxIDs () const override
 Return a set of identifiers for writable data items in this store.
virtual const void * SG::getIOData (SG::auxid_t auxid) const override
 Return a pointer to the data to be stored for one aux data item.
virtual const std::type_info * SG::getIOType (SG::auxid_t auxid) const override
 Return the type of the data to be stored for one aux data item.
virtual const SG::auxid_set_tSG::getDynamicAuxIDs () const override
 Get the list of all variables that need to be handled.
virtual void SG::lock () override
 Lock the container.
bool SG::clearDecorations () const
 Clear all decorations.
virtual size_t SG::size () const override
 Return the number of elements in the store.
virtual bool SG::setOption (auxid_t id, const AuxDataOption &option) override
 Set an option for an auxiliary data variable.
virtual void SG::lockDecoration (SG::auxid_t auxid) override
 Lock a decoration.
virtual IAuxTypeVectorSG::linkedVector (SG::auxid_t auxid) override
 Return interface for a linked variable.
const void * SG::getIODataInternal (auxid_t auxid, bool quiet) const
 Return a pointer to the data to be stored for one aux data item.
void SG::addAuxID (auxid_t auxid)
 Add a new auxid to the set of those being managed by this store.
virtual void * SG::getDataInternal (SG::auxid_t auxid, size_t size, size_t capacity, bool no_lock_check)
 Return the data vector for one aux data item.
IAuxTypeVectorSG::addVector (std::unique_ptr< IAuxTypeVector > vec, bool isDecoration)
 Explicitly add a vector to the store.
virtual IAuxTypeVectorSG::getVectorInternal_noLock (SG::auxid_t auxid, size_t size, size_t capacity, bool no_lock_check)
 Implementation of getVectorInternal; no locking.
size_t SG::size_noLock () const
 Return the number of elements in the store; no locking.
SG::auxid_set_t SG::getCopyIDs (const SG::auxid_set_t &auxids, const SG::auxid_set_t &decors, bool warnUnlocked, std::span< const std::string > noWarn)
 Compute the set of variables to copy in a deep copy.
 SG_BASE (SG::AuxStoreInternal, SG::IAuxStore)

Variables

bool SG::m_standalone
 Are we being written in standalone mode?
std::vector< std::unique_ptr< IAuxTypeVector > > SG::m_vecs
 The collection of vectors of aux data that we're managing, indexed by auxid.
SG::auxid_set_t SG::m_decorations
 Record which variables are decorations.
SG::auxid_set_t SG::m_auxids
 Set of auxid's for which we've created a vector.
bool SG::m_locked
 Has this container been locked?
mutex_t SG::m_mutex

Detailed Description

An auxiliary data store that holds data internally.

Author
scott snyder snyde.nosp@m.r@bn.nosp@m.l.gov
Date
Apr, 2013

Definition in file AuxStoreInternal.h.

Function Documentation

◆ SG_BASE()