Analysis Software
Documentation for sPHENIX simulation software
|
Small opaque cache type which uses small buffer optimization. More...
#include <acts/blob/sPHENIX/Core/include/Acts/MagneticField/detail/SmallObjectCache.hpp>
Classes | |
struct | Handler |
struct | HandlerBase |
Public Member Functions | |
template<typename T > | |
T & | get () |
template<typename T > | |
const T & | get () const |
~SmallObjectCache () | |
SmallObjectCache (SmallObjectCache &&other) | |
SmallObjectCache & | operator= (SmallObjectCache &&other) |
Static Public Member Functions | |
template<typename T , typename... Args> | |
static SmallObjectCache | make (Args &&...args) |
Private Member Functions | |
SmallObjectCache ()=default | |
alignas (std::max_align_t) std | |
Private Attributes | |
const HandlerBase * | m_handler {nullptr} |
Small opaque cache type which uses small buffer optimization.
Definition at line 20 of file SmallObjectCache.hpp.
View newest version in sPHENIX GitHub at line 20 of file SmallObjectCache.hpp
|
inline |
Definition at line 57 of file SmallObjectCache.hpp.
View newest version in sPHENIX GitHub at line 57 of file SmallObjectCache.hpp
References assert, Acts::detail::SmallObjectCache::HandlerBase::destroy(), and m_handler.
|
inline |
Definition at line 62 of file SmallObjectCache.hpp.
View newest version in sPHENIX GitHub at line 62 of file SmallObjectCache.hpp
References assert, m_handler, and Acts::detail::SmallObjectCache::HandlerBase::moveConstruct().
|
privatedefault |
|
inlineprivate |
Definition at line 111 of file SmallObjectCache.hpp.
View newest version in sPHENIX GitHub at line 111 of file SmallObjectCache.hpp
|
inline |
Definition at line 42 of file SmallObjectCache.hpp.
View newest version in sPHENIX GitHub at line 42 of file SmallObjectCache.hpp
References Acts::UnitConstants::T.
|
inline |
Definition at line 50 of file SmallObjectCache.hpp.
View newest version in sPHENIX GitHub at line 50 of file SmallObjectCache.hpp
References Acts::UnitConstants::T.
|
inlinestatic |
Definition at line 23 of file SmallObjectCache.hpp.
View newest version in sPHENIX GitHub at line 23 of file SmallObjectCache.hpp
References check_smearing_config::args, and Acts::UnitConstants::T.
|
inline |
Definition at line 68 of file SmallObjectCache.hpp.
View newest version in sPHENIX GitHub at line 68 of file SmallObjectCache.hpp
References assert, m_handler, and Acts::detail::SmallObjectCache::HandlerBase::move().
|
private |
Definition at line 112 of file SmallObjectCache.hpp.
View newest version in sPHENIX GitHub at line 112 of file SmallObjectCache.hpp
Referenced by operator=(), SmallObjectCache(), and ~SmallObjectCache().