68 :
m_class{ orig.m_class }, m_converter{ std::exchange( orig.m_converter,
nullptr ) } {}
unsigned int CLID
Class ID definition.
WorkerEntry(WorkerEntry &&orig) noexcept
WorkerEntry(const CLID &cl, IConverter *cnv)
WorkerEntry(const WorkerEntry ©)=delete
WorkerEntry & operator=(const WorkerEntry ©)=delete
WorkerEntry & operator=(WorkerEntry &&orig) noexcept
const CLID & clID() const
Base class for all conversion services.
long repSvcType() const override
Retrieve the class type of the data store the converter uses.
StatusCode connectOutput(const std::string &outputFile, const std::string &openMode) override
Connect the output file to the service with open mode.
virtual IConverter * createConverter(long typ, const CLID &clid, const ICnvFactory *fac)
Create new Converter using factory.
StatusCode removeConverter(const CLID &clid) override
Remove converter object from conversion service (if present).
StatusCode fillRepRefs(IOpaqueAddress *pAddress, DataObject *pObject) override
Implementation of IConverter: Resolve the references of the converted object.
StatusCode convertAddress(const IOpaqueAddress *pAddress, std::string &refAddress) override
Convert an address to string form.
virtual void loadConverter(DataObject *pObject)
Load converter or dictionary needed by the converter.
SmartIF< IConversionSvc > & conversionSvc() const override
Implementation of IConverter: Get conversion service the converter is connected to.
StatusCode updateObj(IOpaqueAddress *pAddress, DataObject *refpObject) override
Implementation of IConverter: Update the transient object from the other representation.
StatusCode updateObjRefs(IOpaqueAddress *pAddress, DataObject *pObject) override
Implementation of IConverter: Update the references of an updated transient object.
StatusCode finalize() override
stop the service.
StatusCode setAddressCreator(IAddressCreator *creator) override
Set address creator facility.
virtual StatusCode configureConverter(long typ, const CLID &clid, IConverter *cnv)
Configure the new converter before initialize is called.
StatusCode setConversionSvc(IConversionSvc *svc) override
Implementation of IConverter: Set conversion service the converter is connected to.
SmartIF< IAddressCreator > & addressCreator() const override
Retrieve address creator facility.
ConversionSvc(const ConversionSvc &)=delete
disable copy and assignment
virtual StatusCode initializeConverter(long typ, const CLID &clid, IConverter *cnv)
Initialize the new converter.
long m_type
Conversion service type.
SmartIF< IAddressCreator > m_addressCreator
Pointer to the address creation service interface.
StatusCode createAddress(long svc_type, const CLID &clid, const std::string *par, const unsigned long *ip, IOpaqueAddress *&refpAddress) override
Create a Generic address using explicit arguments to identify a single object.
StatusCode setDataProvider(IDataProviderSvc *pService) override
Implementation of IConverter: Set Data provider service.
virtual StatusCode activateConverter(long typ, const CLID &clid, IConverter *cnv)
Activate the new converter after initialization.
IConverter * converter(const CLID &wanted) override
Retrieve converter from list.
virtual SmartIF< IAddressCreator > & addressCreator()
Retrieve address creation interface.
StatusCode initialize() override
Initialize the service.
SmartIF< IDataProviderSvc > & dataProvider() const override
Implementation of IConverter: Get Data provider service.
SmartIF< IConversionSvc > m_cnvSvc
Pointer to the IConversionSvc interface of this.
const CLID & objType() const override
Implementation of IConverter: dummy call.
virtual StatusCode updateServiceState(IOpaqueAddress *pAddress)
Update state of the service.
StatusCode commitOutput(const std::string &output, bool do_commit) override
Commit pending output.
StatusCode updateRep(IOpaqueAddress *pAddress, DataObject *pObject) override
Implementation of IConverter: Update the converted representation of a transient object.
StatusCode updateRepRefs(IOpaqueAddress *pAddress, DataObject *pObject) override
Implementation of IConverter: Update the references of an already converted object.
StatusCode createRep(DataObject *pObject, IOpaqueAddress *&refpAddress) override
Implementation of IConverter: Convert the transient object to the requested representation.
ConversionSvc & operator=(const ConversionSvc &)=delete
ConversionSvc(const std::string &name, ISvcLocator *svc, long type)
Standard Constructor.
StatusCode createObj(IOpaqueAddress *pAddress, DataObject *&refpObject) override
Implementation of IConverter: Create the transient representation of an object.
StatusCode addConverter(const CLID &clid) override
Add converter object to conversion service.
SmartIF< IDataProviderSvc > m_dataSvc
Pointer to data provider service.
StatusCode fillObjRefs(IOpaqueAddress *pAddress, DataObject *pObject) override
Implementation of IConverter: Resolve the references of the created transient object.
std::vector< WorkerEntry > m_workers
List of conversion workers.
A DataObject is the base class of any identifiable object on any data store.
IAddressCreator interface definition.
The data converters are responsible to translate data from one representation into another.
Data provider interface definition.
Opaque address interface definition.
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Small smart pointer class with automatic reference counting for IInterface.
This class is used for returning status codes from appropriate routines.
Base class used to extend a class implementing other interfaces.
void swap(GaudiUtils::VectorMap< KEY, VALUE, KEYCOMPARE, ALLOCATOR > &left, GaudiUtils::VectorMap< KEY, VALUE, KEYCOMPARE, ALLOCATOR > &right)
the definition of specialized algorithm for swapping