26 std::shared_lock< std::shared_timed_mutex > lock(
m_mutex );
29 Map_t::const_iterator itr =
m_types.find( &ti );
31 return itr->second.get();
35 ::Error(
"xAOD::TDestructorRegistry::get",
Define macros for attributes used to control the static checker.
#define ATLAS_THREAD_SAFE
TDestructorRegistry()
Hide the constructor of the type.
Map_t m_types
Internal map of known destructor objects.
std::shared_timed_mutex m_mutex
Mutex for the destructor map.
const TVirtualDestructor * get(const std::type_info &ti) const
Get the destructor for a given type.
static TDestructorRegistry & instance()
Function accessing the singleton instance of this type.
Base class for the templated destructor types.
std::string normalizedTypeinfoName(const std::type_info &info)
Convert a type_info to a normalized string representation (matching the names used in the root dictio...
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Convert a type_info to a normalized string representation (matching the names used in the root dictio...