|
ATLAS Offline Software
|
Go to the documentation of this file.
11 #include "GaudiKernel/TypeNameString.h"
12 #include "GaudiKernel/IClassIDSvc.h"
14 #include "eformat/SourceIdentifier.h"
18 base_class(
name, pSvcLocator),
19 m_clidSvc(
"ClassIDSvc",
name),
32 return(StatusCode::FAILURE);
35 return(StatusCode::SUCCESS);
42 return(StatusCode::SUCCESS);
47 const std::string&
t =
item.type();
48 const std::string&
nm =
item.name();
51 ATH_MSG_WARNING(
"Cannot create TAD for (type, name)" <<
" no CLID for " <<
t <<
" " <<
nm);
60 return(StatusCode::SUCCESS);
65 const EventContext& ctx) {
67 return(StatusCode::FAILURE);
70 std::string
nm = tad->
name();
71 std::map<CLID, std::set<std::string> >::const_iterator
it =
m_clidKey.find(clid);
73 return(StatusCode::FAILURE);
77 add->setEventContext(ctx);
79 return(StatusCode::SUCCESS);
virtual StatusCode preLoadAddresses(StoreID::type id, tadList &tlist) override
ByteStreamAddressProviderSvc(const std::string &name, ISvcLocator *pSvcLocator)
Standard constructor.
const std::string & name() const
Get the primary (hashed) SG key.
::StatusCode StatusCode
StatusCode definition for legacy code.
CLID clID() const
Retrieve string key:
IOpaqueAddress for ByteStreamCnvSvc, with ROB ids.
bool add(const std::string &hname, TKey *tobj)
defines an enum used by address providers to decide what kind of StoreGateSvc they are providing addr...
uint32_t CLID
The Class ID type.
virtual StatusCode updateAddress(StoreID::type id, SG::TransientAddress *tad, const EventContext &ctx) override
update an existing transient Address
void setAddress(IOpaqueAddress *pAddress)
Retrieve primary clid.
#define ATH_MSG_WARNING(x)
Gaudi::Property< std::vector< std::string > > m_typeNames
virtual StatusCode initialize() override
ServiceHandle< IClassIDSvc > m_clidSvc
std::map< unsigned int, std::set< std::string > > m_clidKey