Go to the documentation of this file.
11 #ifndef GAUDIKERNEL_CONVERTER_H
12 #define GAUDIKERNEL_CONVERTER_H
63 const CLID& objType()
const override;
67 virtual long i_repSvcType()
const;
98 [[deprecated(
"use service<T>(name, createIf) -> SmartIF<T>" )]]
StatusCode
100 return service_i(
name, createIf, T::interfaceID(), (
void**)&psvc );
105 [[deprecated(
"use service<T>(name, createIf) -> SmartIF<T>" )]]
StatusCode
107 return service_i(
type,
name, T::interfaceID(),
reinterpret_cast<void**
>( &psvc ) );
141 void** ppSvc )
const;
143 void** ppSvc )
const;
159 return s <<
"CNV_" <<
id.m_stype <<
"_" <<
id.m_clid;
163 #define DECLARE_CONVERTER( x ) DECLARE_COMPONENT_WITH_ID( x, ConverterID( x::storageType(), x::classID() ) )
165 #endif // GAUDIKERNEL_CONVERTER_H
std::ostream & operator<<(std::ostream &s, const ConverterID &id)
SmartIF< IConversionSvc > m_conversionSvc
Pointer to the connected conversion service.
ConverterID(long stype, CLID clid)
bool operator==(const ConverterID &id) const
SmartIF< IAddressCreator > m_addressCreator
Pointer to the address creation service interface.
SmartIF< IDataProviderSvc > m_dataProvider
Pointer to data provider service.
SmartIF< IDataManagerSvc > m_dataManager
Pointer to data manager service.
unsigned int CLID
Class ID definition.
StatusCode service(const std::string &type, const std::string &name, T *&psvc) const
Access a service by name, type creating it if it doesn't already exist.
SmartIF< ISvcLocator > m_svcLocator
Service Locator reference.
Base class used to implement the interfaces.
SmartIF< IMessageSvc > m_messageSvc
MessageSvc reference.
StatusCode service(const std::string &name, T *&psvc, bool createIf=false) const
Access a service by name, creating it if it doesn't already exist.
Gaudi::PluginService::Factory< IConverter *(ISvcLocator *)> Factory
long m_storageType
Storage type.
const CLID m_classType
Class type the converter can handle.