1 #ifndef GAUDIKERNEL_CONVERTER_H 2 #define GAUDIKERNEL_CONVERTER_H 27 using Factory = Gaudi::PluginService::Factory<IConverter*( ISvcLocator* )>;
54 const CLID& objType()
const override;
58 virtual long i_repSvcType()
const;
91 return service_i( name, createIf, T::interfaceID(), (
void**)&psvc );
98 return service_i( type, name, T::interfaceID(), reinterpret_cast<void**>( &psvc ) );
133 void** ppSvc )
const;
151 return s <<
"CNV_" <<
id.m_stype <<
"_" <<
id.m_clid;
155 #define DECLARE_CONVERTER( x ) DECLARE_COMPONENT_WITH_ID( x, ConverterID( x::storageType(), x::classID() ) ) 157 #endif // GAUDIKERNEL_CONVERTER_H SmartIF< IAddressCreator > m_addressCreator
Pointer to the address creation service interface.
SmartIF< ISvcLocator > m_svcLocator
Service Locator reference.
Base class used to implement the interfaces.
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
SmartIF< IDataManagerSvc > m_dataManager
Pointer to data manager service.
IAddressCreator interface definition.
std::ostream & operator<<(std::ostream &s, const ConverterID &id)
Gaudi::PluginService::Factory< IConverter *(ISvcLocator *)> Factory
SmartIF< IMessageSvc > m_messageSvc
MessageSvc reference.
Data provider interface definition.
SmartIF< IConversionSvc > m_conversionSvc
Pointer to the connected conversion service.
long m_storageType
Storage type.
This class is used for returning status codes from appropriate routines.
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.
The IMessage is the interface implemented by the message service.
const CLID m_classType
Class type the converter can handle.
bool operator==(const ConverterID &id) const
The IRegistry represents the entry door to the environment any data object residing in a transient da...
ConverterID(long stype, CLID clid)
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.
Opaque address interface definition.
A DataObject is the base class of any identifiable object on any data store.
SmartIF< IDataProviderSvc > m_dataProvider
Pointer to data provider service.