ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
AthenaKernel
AthenaKernel
CondContFactory.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration.
3
*/
4
5
#ifndef ATHENAKERNEL_CONDCONTFACT_H
6
#define ATHENAKERNEL_CONDCONTFACT_H 1
7
8
#include "
AthenaKernel/ICondContMaker.h
"
9
10
#include <map>
11
#include <string>
12
#include <mutex>
13
14
class
DataObject;
15
namespace
Athena
{
16
class
IRCUSvc
;
17
}
18
19
namespace
CondContainer
{
20
class
CondContFactory
{
21
public
:
22
static
CondContFactory
&
Instance
();
23
void
regMaker
(
const
CLID
& clid,
ICondContMaker
* maker);
24
SG::DataObjectSharedPtr<DataObject>
Create
(
Athena::IRCUSvc
& rcusvc,
const
CLID
& clid,
const
std::string& key)
const
;
25
26
private
:
27
CondContFactory
(){}
28
29
CondContFactory
(
const
CondContFactory
&);
30
CondContFactory
&
operator=
(
const
CondContFactory
&);
31
32
std::map<CLID, ICondContMaker*>
m_makers
;
33
mutable
std::mutex
m_mapMutex
;
34
};
35
}
36
37
#endif
CLID
uint32_t CLID
The Class ID type.
Definition
Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
ICondContMaker.h
Athena::IRCUSvc
Interface for RCU service.
Definition
IRCUSvc.h:40
CondContainer::CondContFactory::Create
SG::DataObjectSharedPtr< DataObject > Create(Athena::IRCUSvc &rcusvc, const CLID &clid, const std::string &key) const
Definition
CondContFactory.cxx:28
CondContainer::CondContFactory::regMaker
void regMaker(const CLID &clid, ICondContMaker *maker)
Definition
CondContFactory.cxx:19
CondContainer::CondContFactory::CondContFactory
CondContFactory()
Definition
CondContFactory.h:27
CondContainer::CondContFactory::CondContFactory
CondContFactory(const CondContFactory &)
CondContainer::CondContFactory::Instance
static CondContFactory & Instance()
Definition
CondContFactory.cxx:14
CondContainer::CondContFactory::m_mapMutex
std::mutex m_mapMutex
Definition
CondContFactory.h:33
CondContainer::CondContFactory::operator=
CondContFactory & operator=(const CondContFactory &)
CondContainer::CondContFactory::m_makers
std::map< CLID, ICondContMaker * > m_makers
Definition
CondContFactory.h:32
CondContainer::ICondContMaker
Definition
ICondContMaker.h:22
Athena
Some weak symbol referencing magic... These are declared in AthenaKernel/getMessageSvc....
Definition
AthDsoUtils.h:10
CondContainer
Definition
CondContFactory.h:19
SG::DataObjectSharedPtr
CxxUtils::RefCountedPtr< T > DataObjectSharedPtr
Definition
DataObjectSharedPtr.h:27
Generated on
for ATLAS Offline Software by
1.17.0