2 #ifndef GAUDIKERNEL_CONVERSIONSVC_H
3 #define GAUDIKERNEL_CONVERSIONSVC_H 1
56 : m_class(cl), m_converter(cnv) {
59 : m_class(copy.m_class), m_converter(copy.m_converter) {
77 class CnvTest :
public std::unary_function<WorkerEntry, bool> {
86 return (m_test == testee.
clID()) ?
true :
false;
99 virtual long repSvcType()
const;
102 const CLID& objType()
const;
164 virtual StatusCode connectOutput(
const std::string& outputFile,
165 const std::string& openMode);
168 virtual StatusCode connectOutput(
const std::string& output);
171 virtual StatusCode commitOutput(
const std::string& output,
bool do_commit);
174 virtual StatusCode createAddress(
long svc_type,
176 const std::string*
par,
177 const unsigned long* ip,
182 std::string& refAddress);
185 virtual StatusCode createAddress(
long svc_type,
187 const std::string& refAddress,
201 virtual IConverter* createConverter(
long typ,
const CLID& clid,
const ICnvFactory* fac);
213 virtual void loadConverter(
DataObject* pObject);
217 return m_addressCreator;
245 #endif // GAUDIKERNEL_CONVERSIONSVC_H
bool operator()(const WorkerEntry &testee)
virtual SmartIF< IAddressCreator > & addressCreator()
Retrieve address creation interface.
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
The data converters are responsible to translate data from one representation into another...
Workers * m_workers
List of conversion workers.
IAddressCreator interface definition.
const CLID & clID() const
SmartIF< IAddressCreator > m_addressCreator
Pointer to the address creation service interface.
Base class used to extend a class implementing other interfaces.
Data provider interface definition.
WorkerEntry(const WorkerEntry ©)
This class is used for returning status codes from appropriate routines.
WorkerEntry(const CLID &cl, IConverter *cnv)
unsigned int CLID
Class ID definition.
CnvTest(const CLID &test)
SmartIF< IDataProviderSvc > m_dataSvc
Pointer to data provider service.
SmartIF< IConversionSvc > m_cnvSvc
Pointer to the IConversionSvc interface of this.
long m_type
Conversion service type.
Opaque address interface definition.
Base class for all conversion services.
A DataObject is the base class of any identifiable object on any data store.
std::vector< WorkerEntry > Workers