76 m_messageSvc =
nullptr;
77 m_dataManager =
nullptr;
78 m_dataProvider =
nullptr;
79 m_conversionSvc =
nullptr;
80 m_addressCreator =
nullptr;
93 return m_dataProvider;
103 m_conversionSvc = svc;
109 return m_conversionSvc;
114 m_addressCreator = creator;
120 return m_addressCreator;
130 if ( !m_messageSvc ) {
132 if( !m_messageSvc ) {
146 m_storageType(storage_type),
147 m_classType(class_type),
153 Converter::service_i(
const std::string& svcName,
bool createIf,
159 return helper.
getService(svcName, createIf, iid, ppSvc);
181 svc = helper.service(name,
false, createIf);
an helper to share the implementation of service() among the various kernel base classes ...
Converter(long storage_type, const CLID &class_type, ISvcLocator *svc=0)
Standard Constructor.
Define general base for Gaudi exception.
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
const CLID & objType() const override
Retrieve the class type of objects the converter produces.
StatusCode setConversionSvc(IConversionSvc *svc) override
Set conversion service the converter is connected to.
StatusCode initialize() override
Initialize the converter.
IAddressCreator interface definition.
SmartIF< IMessageSvc > & msgSvc() const
Retrieve pointer to message service.
StatusCode updateRepRefs(IOpaqueAddress *pAddress, DataObject *pObject) override
Update the references of an already converted object.
StatusCode createObj(IOpaqueAddress *pAddress, DataObject *&refpObject) override
Create the transient representation of an object.
SmartIF< IConversionSvc > & conversionSvc() const override
Get conversion service the converter is connected to.
Data provider interface definition.
StatusCode finalize() override
Initialize the converter.
StatusCode updateRep(IOpaqueAddress *pAddress, DataObject *pObject) override
Update the converted representation of a transient object.
StatusCode fillObjRefs(IOpaqueAddress *pAddress, DataObject *pObject) override
Resolve the references of the created transient object.
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.
StatusCode createRep(DataObject *pObject, IOpaqueAddress *&refpAddress) override
Convert the transient object to the requested representation.
unsigned int CLID
Class ID definition.
StatusCode updateObjRefs(IOpaqueAddress *pAddress, DataObject *pObject) override
Update the references of an updated transient object.
SmartIF< ISvcLocator > & serviceLocator() const
Retrieve pointer to service locator.
StatusCode setAddressCreator(IAddressCreator *creator) override
Set address creator facility.
SmartIF< IDataProviderSvc > & dataProvider() const override
Get Data provider service.
virtual long i_repSvcType() const
Retrieve the class type of the data store the converter uses.
SmartIF< IAddressCreator > & addressCreator() const override
Retrieve address creator facility.
StatusCode setDataProvider(IDataProviderSvc *svc) override
Set Data provider service.
Opaque address interface definition.
StatusCode fillRepRefs(IOpaqueAddress *pAddress, DataObject *pObject) override
Resolve the references of the converted object.
A DataObject is the base class of any identifiable object on any data store.
StatusCode getService(const std::string &name, bool createIf, const InterfaceID &iid, void **ppSvc) const
virtual const std::string & name() const =0
Retrieve the name of the instance.
StatusCode createService(const std::string &name, const InterfaceID &iid, void **ppSvc) const
StatusCode updateObj(IOpaqueAddress *pAddress, DataObject *refpObject) override
Update the transient object from the other representation.