All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ConversionSvc Class Reference

Base class for all conversion services. More...

#include <GaudiKernel/ConversionSvc.h>

Inheritance diagram for ConversionSvc:
Collaboration diagram for ConversionSvc:

Classes

class  CnvTest
 
class  WorkerEntry
 

Public Types

typedef std::vector< WorkerEntryWorkers
 
- Public Types inherited from extends2< Service, IConversionSvc, IAddressCreator >
typedef extends2 base_class
 Typedef to this class. More...
 
typedef extend_interfaces2
< IConversionSvc,
IAddressCreator
extend_interfaces_base
 Typedef to the base of this class. More...
 
typedef
extend_interfaces_base::ext_iids 
interfaces
 MPL set of all the implemented interfaces. More...
 
- Public Types inherited from Service
typedef
Gaudi::PluginService::Factory2
< IService *, const
std::string &, ISvcLocator * > 
Factory
 
- Public Types inherited from CommonMessaging< implements3< IService, IProperty, IStateful > >
typedef CommonMessaging base_class
 
- Public Types inherited from implements3< IService, IProperty, IStateful >
typedef implements3 base_class
 Typedef to this class. More...
 
typedef extend_interfaces3
< IService, IProperty,
IStateful
extend_interfaces_base
 Typedef to the base of this class. More...
 
typedef
extend_interfaces_base::ext_iids 
interfaces
 MPL set of all the implemented interfaces. More...
 
- Public Types inherited from extend_interfaces3< IService, IProperty, IStateful >
typedef mpl::fold< typename
IService::iid::iids::type,
typename mpl::fold< typename
IProperty::iid::iids::type,
typename
IStateful::iid::iids::type,
mpl::insert< mpl::_1, mpl::_2 >
>::type, mpl::insert< mpl::_1,
mpl::_2 > >::type 
ext_iids
 MPL set of interfaces extended by this one. More...
 
- Public Types inherited from IInterface
enum  Status { SUCCESS = 1, NO_INTERFACE, VERSMISMATCH, LAST_ERROR }
 Return status. More...
 
typedef Gaudi::InterfaceId
< IInterface, 0, 0 > 
iid
 Interface ID. More...
 
typedef mpl::set1< iidext_iids
 Extra interfaces. More...
 
- Public Types inherited from extend_interfaces2< IConversionSvc, IAddressCreator >
typedef mpl::fold< typename
IConversionSvc::iid::iids::type,
typename
IAddressCreator::iid::iids::type,
mpl::insert< mpl::_1, mpl::_2 >
>::type 
ext_iids
 MPL set of interfaces extended by this one. More...
 
- Public Types inherited from IConversionSvc
enum  Status { CONVERSIONSVC_NO_ERROR = ICONVERSIONSVC_LAST_ERROR+1, NO_CONVERTER }
 Status code definitions. More...
 
- Public Types inherited from IConverter
enum  Status {
  INVALID_ADDRESS = IInterface::LAST_ERROR+1, INVALID_OBJECT, NO_MEMORY, BAD_STORAGE_TYPE,
  NO_SOURCE_OBJECT, ICONVERSIONSVC_LAST_ERROR
}
 Status code. More...
 

Public Member Functions

virtual StatusCode initialize ()
 Initialize the service. More...
 
virtual StatusCode finalize ()
 stop the service. More...
 
virtual long repSvcType () const
 Retrieve the class type of the data store the converter uses. More...
 
const CLIDobjType () const
 Implementation of IConverter: dummy call. More...
 
virtual StatusCode setDataProvider (IDataProviderSvc *pService)
 Implementation of IConverter: Set Data provider service. More...
 
virtual SmartIF
< IDataProviderSvc > & 
dataProvider () const
 Implementation of IConverter: Get Data provider service. More...
 
virtual StatusCode setConversionSvc (IConversionSvc *svc)
 Implementation of IConverter: Set conversion service the converter is connected to. More...
 
virtual SmartIF< IConversionSvc > & conversionSvc () const
 Implementation of IConverter: Get conversion service the converter is connected to. More...
 
virtual StatusCode setAddressCreator (IAddressCreator *creator)
 Set address creator facility. More...
 
virtual SmartIF
< IAddressCreator > & 
addressCreator () const
 Retrieve address creator facility. More...
 
virtual StatusCode createObj (IOpaqueAddress *pAddress, DataObject *&refpObject)
 Implementation of IConverter: Create the transient representation of an object. More...
 
virtual StatusCode fillObjRefs (IOpaqueAddress *pAddress, DataObject *pObject)
 Implementation of IConverter: Resolve the references of the created transient object. More...
 
virtual StatusCode updateObj (IOpaqueAddress *pAddress, DataObject *refpObject)
 Implementation of IConverter: Update the transient object from the other representation. More...
 
virtual StatusCode updateObjRefs (IOpaqueAddress *pAddress, DataObject *pObject)
 Implementation of IConverter: Update the references of an updated transient object. More...
 
virtual StatusCode createRep (DataObject *pObject, IOpaqueAddress *&refpAddress)
 Implementation of IConverter: Convert the transient object to the requested representation. More...
 
virtual StatusCode fillRepRefs (IOpaqueAddress *pAddress, DataObject *pObject)
 Implementation of IConverter: Resolve the references of the converted object. More...
 
virtual StatusCode updateRep (IOpaqueAddress *pAddress, DataObject *pObject)
 Implementation of IConverter: Update the converted representation of a transient object. More...
 
virtual StatusCode updateRepRefs (IOpaqueAddress *pAddress, DataObject *pObject)
 Implementation of IConverter: Update the references of an already converted object. More...
 
virtual StatusCode addConverter (const CLID &clid)
 Add converter object to conversion service. More...
 
virtual StatusCode addConverter (IConverter *pConverter)
 Add converter object to conversion service. More...
 
virtual StatusCode removeConverter (const CLID &clid)
 Remove converter object from conversion service (if present). More...
 
virtual IConverterconverter (const CLID &wanted)
 Retrieve converter from list. More...
 
virtual StatusCode connectOutput (const std::string &outputFile, const std::string &openMode)
 Connect the output file to the service with open mode. More...
 
virtual StatusCode connectOutput (const std::string &output)
 Connect the output file to the service. More...
 
virtual StatusCode commitOutput (const std::string &output, bool do_commit)
 Commit pending output. More...
 
virtual StatusCode createAddress (long svc_type, const CLID &clid, const std::string *par, const unsigned long *ip, IOpaqueAddress *&refpAddress)
 Create a Generic address using explicit arguments to identify a single object. More...
 
virtual StatusCode convertAddress (const IOpaqueAddress *pAddress, std::string &refAddress)
 Convert an address to string form. More...
 
virtual StatusCode createAddress (long svc_type, const CLID &clid, const std::string &refAddress, IOpaqueAddress *&refpAddress)
 Convert an address in string form to object form. More...
 
virtual StatusCode updateServiceState (IOpaqueAddress *pAddress)
 Update state of the service. More...
 
 ConversionSvc (const std::string &name, ISvcLocator *svc, long type)
 Standard Constructor. More...
 
- Public Member Functions inherited from extends2< Service, IConversionSvc, IAddressCreator >
 extends2 (A1 a1, A2 a2, A3 a3)
 Templated constructor with 3 arguments. More...
 
 extends2 (A1 a1, A2 a2)
 Templated constructor with 2 arguments. More...
 
 extends2 (A1 a1)
 Templated constructor with 1 argument. More...
 
 extends2 ()
 Default constructor. More...
 
virtual void * i_cast (const InterfaceID &tid) const
 Implementation of IInterface::i_cast. More...
 
virtual StatusCode queryInterface (const InterfaceID &ti, void **pp)
 Implementation of IInterface::queryInterface. More...
 
virtual std::vector< std::string > getInterfaceNames () const
 Implementation of IInterface::getInterfaceNames. More...
 
virtual ~extends2 ()
 Virtual destructor. More...
 
- Public Member Functions inherited from Service
virtual unsigned long release ()
 Release Interface instance. More...
 
virtual const std::string & name () const
 Retrieve name of the service. More...
 
virtual StatusCode configure ()
 Configuration (from OFFLINE to CONFIGURED). More...
 
virtual StatusCode start ()
 Start (from INITIALIZED to RUNNING). More...
 
virtual StatusCode stop ()
 Stop (from RUNNING to INITIALIZED). More...
 
virtual StatusCode terminate ()
 Initialization (from CONFIGURED to OFFLINE). More...
 
virtual Gaudi::StateMachine::State FSMState () const
 Get the current state. More...
 
virtual Gaudi::StateMachine::State targetFSMState () const
 When we are in the middle of a transition, get the state where the transition is leading us. More...
 
virtual StatusCode reinitialize ()
 Initialization (from INITIALIZED or RUNNING to INITIALIZED, via CONFIGURED). More...
 
virtual StatusCode restart ()
 Initialization (from RUNNING to RUNNING, via INITIALIZED). More...
 
virtual StatusCode sysInitialize ()
 Initialize Service. More...
 
virtual StatusCode sysStart ()
 Initialize Service. More...
 
virtual StatusCode sysStop ()
 Initialize Service. More...
 
virtual StatusCode sysFinalize ()
 Finalize Service. More...
 
virtual StatusCode sysReinitialize ()
 Re-initialize the Service. More...
 
virtual StatusCode sysRestart ()
 Re-initialize the Service. More...
 
virtual StatusCode setProperty (const Property &p)
 Set the property by property. More...
 
virtual StatusCode setProperty (const std::string &s)
 Set the property by string. More...
 
virtual StatusCode setProperty (const std::string &n, const std::string &v)
 Set the property by std::string. More...
 
virtual StatusCode getProperty (Property *p) const
 Get the property by property. More...
 
virtual const PropertygetProperty (const std::string &name) const
 Get the property by name. More...
 
virtual StatusCode getProperty (const std::string &n, std::string &v) const
 Get the property by std::string. More...
 
virtual const std::vector
< Property * > & 
getProperties () const
 Get list of properties. More...
 
template<class TYPE >
StatusCode setProperty (const std::string &name, const TYPE &value)
 set the property form the value More...
 
 Service (const std::string &name, ISvcLocator *svcloc)
 Standard Constructor. More...
 
SmartIF< ISvcLocator > & serviceLocator () const
 Retrieve pointer to service locator. More...
 
StatusCode setProperties ()
 Method for setting declared properties to the values specified for the job. More...
 
template<class T >
StatusCode service (const std::string &name, const T *&psvc, bool createIf=true) const
 Access a service by name, creating it if it doesn't already exist. More...
 
template<class T >
StatusCode service (const std::string &name, T *&psvc, bool createIf=true) const
 
template<class T >
StatusCode service (const std::string &svcType, const std::string &svcName, T *&psvc) const
 Access a service by name and type, creating it if it doesn't already exist. More...
 
template<class T >
PropertydeclareProperty (const std::string &name, T &property, const std::string &doc="none") const
 Declare the named property. More...
 
PropertydeclareRemoteProperty (const std::string &name, IProperty *rsvc, const std::string &rname="") const
 Declare remote named properties. More...
 
SmartIF< IAuditorSvc > & auditorSvc () const
 The standard auditor service.May not be invoked before sysInitialize() has been invoked. More...
 
- Public Member Functions inherited from CommonMessaging< implements3< IService, IProperty, IStateful > >
 CommonMessaging (const A1 &a1, const A2 &a2, const A3 &a3)
 Templated constructor with 3 arguments. More...
 
 CommonMessaging (const A1 &a1, const A2 &a2)
 Templated constructor with 2 arguments. More...
 
 CommonMessaging (const A1 &a1)
 Templated constructor with 1 argument. More...
 
 CommonMessaging ()
 Default constructor. More...
 
virtual ~CommonMessaging ()
 Virtual destructor. More...
 
SmartIF< IMessageSvc > & msgSvc () const
 The standard message service. More...
 
MsgStreammsgStream () const
 Return an uninitialized MsgStream. More...
 
MsgStreammsgStream (const MSG::Level level) const
 Predefined configurable message stream for the efficient printouts. More...
 
MsgStreamalways () const
 shortcut for the method msgStream(MSG::ALWAYS) More...
 
MsgStreamfatal () const
 shortcut for the method msgStream(MSG::FATAL) More...
 
MsgStreamerr () const
 shortcut for the method msgStream(MSG::ERROR) More...
 
MsgStreamerror () const
 shortcut for the method msgStream(MSG::ERROR) More...
 
MsgStreamwarning () const
 shortcut for the method msgStream(MSG::WARNING) More...
 
MsgStreaminfo () const
 shortcut for the method msgStream(MSG::INFO) More...
 
MsgStreamdebug () const
 shortcut for the method msgStream(MSG::DEBUG) More...
 
MsgStreamverbose () const
 shortcut for the method msgStream(MSG::VERBOSE) More...
 
MsgStreammsg () const
 shortcut for the method msgStream(MSG::INFO) More...
 
MSG::Level msgLevel () const
 get the output level from the embedded MsgStream More...
 
bool msgLevel (MSG::Level lvl) const
 get the output level from the embedded MsgStream More...
 
- Public Member Functions inherited from extend_interfaces3< IService, IProperty, IStateful >
virtual ~extend_interfaces3 ()
 Virtual destructor. More...
 
- Public Member Functions inherited from IService
 DeclareInterfaceID (IService, 3, 0)
 InterfaceID. More...
 
virtual ~IService ()
 virtual destructor More...
 
- Public Member Functions inherited from INamedInterface
 DeclareInterfaceID (INamedInterface, 1, 0)
 InterfaceID. More...
 
virtual ~INamedInterface ()
 Virtual destructor (always needed for abstract classes). More...
 
- Public Member Functions inherited from IInterface
virtual unsigned long addRef ()=0
 Increment the reference count of Interface instance. More...
 
virtual unsigned long refCount () const =0
 Current reference count. More...
 
virtual ~IInterface ()
 Virtual destructor. More...
 
- Public Member Functions inherited from IProperty
 DeclareInterfaceID (IProperty, 2, 0)
 InterfaceID. More...
 
- Public Member Functions inherited from IStateful
 DeclareInterfaceID (IStateful, 1, 0)
 InterfaceID. More...
 
virtual ~IStateful ()
 
- Public Member Functions inherited from extend_interfaces2< IConversionSvc, IAddressCreator >
virtual ~extend_interfaces2 ()
 Virtual destructor. More...
 
- Public Member Functions inherited from IConversionSvc
 DeclareInterfaceID (IConversionSvc, 4, 0)
 InterfaceID. More...
 
virtual ~IConversionSvc ()
 Virtual destructor. More...
 
- Public Member Functions inherited from IConverter
 DeclareInterfaceID (IConverter, 3, 0)
 InterfaceID. More...
 
virtual ~IConverter ()
 Virtual destructor. More...
 
- Public Member Functions inherited from IAddressCreator
 DeclareInterfaceID (IAddressCreator, 3, 0)
 InterfaceID. More...
 

Protected Member Functions

virtual ~ConversionSvc ()
 Standard Destructor. More...
 
virtual IConvertercreateConverter (long typ, const CLID &clid, const ICnvFactory *fac)
 Create new Converter using factory. More...
 
virtual StatusCode configureConverter (long typ, const CLID &clid, IConverter *cnv)
 Configure the new converter before initialize is called. More...
 
virtual StatusCode initializeConverter (long typ, const CLID &clid, IConverter *cnv)
 Initialize the new converter. More...
 
virtual StatusCode activateConverter (long typ, const CLID &clid, IConverter *cnv)
 Activate the new converter after initialization. More...
 
virtual void loadConverter (DataObject *pObject)
 Load converter or dictionary needed by the converter. More...
 
virtual SmartIF
< IAddressCreator > & 
addressCreator ()
 Retrieve address creation interface. More...
 
StatusCode makeCall (int typ, bool ignore_add, bool ignore_obj, bool update, IOpaqueAddress *&pAddress, DataObject *&pObject)
 
- Protected Member Functions inherited from Service
virtual ~Service ()
 Standard Destructor. More...
 
int outputLevel () const
 get the Service's output level More...
 
- Protected Member Functions inherited from CommonMessaging< implements3< IService, IProperty, IStateful > >
void updateMsgStreamOutputLevel (int level)
 Update the output level of the cached MsgStream. More...
 

Protected Attributes

SmartIF< IDataProviderSvcm_dataSvc
 Pointer to data provider service. More...
 
SmartIF< IAddressCreatorm_addressCreator
 Pointer to the address creation service interface. More...
 
SmartIF< IConversionSvcm_cnvSvc
 Pointer to the IConversionSvc interface of this. More...
 
long m_type
 Conversion service type. More...
 
Workersm_workers
 List of conversion workers. More...
 
- Protected Attributes inherited from Service
IntegerProperty m_outputLevel
 Service output level. More...
 
Gaudi::StateMachine::State m_state
 Service state. More...
 
Gaudi::StateMachine::State m_targetState
 Service state. More...
 
- Protected Attributes inherited from CommonMessaging< implements3< IService, IProperty, IStateful > >
SmartIF< IMessageSvcm_msgsvc
 Pointer to the message service;. More...
 
std::auto_ptr< MsgStreamm_msgStream
 The predefined message stream. More...
 
bool m_streamWithService
 Flag to create a new MsgStream if it was created without the message service. More...
 

Private Member Functions

 ConversionSvc (const ConversionSvc &)
 Fake copy constructor (never implemented). More...
 
ConversionSvcoperator= (const ConversionSvc &)
 Fake assignment operator (never implemented). More...
 

Additional Inherited Members

- Static Public Member Functions inherited from IInterface
static const InterfaceIDinterfaceID ()
 Return an instance of InterfaceID identifying the interface. More...
 

Detailed Description

Base class for all conversion services.

It manages a set of Converters that are specialized for conversions of specific objects.

This supports self learning converters: User hooks include the following (overridable) entries:

  • findCnvFactory: returns a suitable converter factory
  • createConverter: the actual convetrer creation
  • configureConverter: configure converter before initialize
  • initializeConverter: initializes the converter
  • activateConverter: any additional configuration to be done after initialize.

configureConverter and activateConverter are user hooks, where the convetrer can be manipulated by the hosting service and knowledge can be supplied, which a "generic" converter cannot aquire itself.

These hooks allow any sub-classed conversion service to override the calls and create converters, which aquire the knowledge about their persistency type and the object type they convert during the initialization.

Only AFTER these three steps the converter must satisfy the storage type of the hosting service and the class type of the required object type.

Author
Markus Frank
Version
1.0

Definition at line 47 of file ConversionSvc.h.

Member Typedef Documentation

typedef std::vector<WorkerEntry> ConversionSvc::Workers

Definition at line 75 of file ConversionSvc.h.

Constructor & Destructor Documentation

ConversionSvc::ConversionSvc ( const std::string &  name,
ISvcLocator svc,
long  type 
)

Standard Constructor.

Definition at line 404 of file ConversionSvc.cpp.

405  : base_class(name, svc),
406  m_cnvSvc(static_cast<IConversionSvc*>(this))
407 {
408  m_type = type;
409  m_dataSvc = 0;
410  m_workers = new Workers();
411  setAddressCreator(this).ignore();
412 }
Workers * m_workers
List of conversion workers.
extends2 base_class
Typedef to this class.
Definition: extends.h:77
string type
Definition: gaudirun.py:126
virtual StatusCode setAddressCreator(IAddressCreator *creator)
Set address creator facility.
virtual const std::string & name() const
Retrieve name of the service.
Definition: Service.cpp:331
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.
void ignore() const
Definition: StatusCode.h:94
std::vector< WorkerEntry > Workers
Definition: ConversionSvc.h:75
ConversionSvc::~ConversionSvc ( )
protectedvirtual

Standard Destructor.

Definition at line 415 of file ConversionSvc.cpp.

415  {
416  // Release all workers.
417  for ( Workers::iterator i = m_workers->begin(); i != m_workers->end(); i++ ) {
418  (*i).converter()->release();
419  }
420  m_workers->erase(m_workers->begin(), m_workers->end() );
421  delete m_workers;
422 }
Workers * m_workers
List of conversion workers.
list i
Definition: ana.py:128
ConversionSvc::ConversionSvc ( const ConversionSvc )
private

Fake copy constructor (never implemented).

Member Function Documentation

StatusCode ConversionSvc::activateConverter ( long  typ,
const CLID clid,
IConverter cnv 
)
protectedvirtual

Activate the new converter after initialization.

Activate the freshly created converter.

Definition at line 340 of file ConversionSvc.cpp.

342  {
343  if ( 0 != pConverter ) {
344  return StatusCode::SUCCESS;
345  }
346  return NO_CONVERTER;
347 }
No proper converter is available to the service.
StatusCode ConversionSvc::addConverter ( const CLID clid)
virtual

Add converter object to conversion service.

Implements IConversionSvc.

Definition at line 221 of file ConversionSvc.cpp.

221  {
222  // First look for the more specific converter
223  long typ = repSvcType();
224  IConverter* pConverter = createConverter(typ, clid, 0);
225  if ( 0 != pConverter ) {
226  StatusCode status = configureConverter( typ, clid, pConverter );
227  if ( status.isSuccess() ) {
228  status = initializeConverter( typ, clid, pConverter );
229  if ( status.isSuccess() ) {
230  status = activateConverter( typ, clid, pConverter );
231  if ( status.isSuccess() ) {
232  long conv_typ = pConverter->repSvcType();
233  const CLID& conv_clid = pConverter->objType();
234  typ = (typ<0xFF) ? typ : typ&0xFFFFFF00;
235  conv_typ = (conv_typ<0xFF) ? conv_typ : conv_typ&0xFFFFFF00;
236  if ( conv_typ == typ && conv_clid == clid ) {
237  return addConverter(pConverter);
238  }
239  }
240  }
241  }
242  pConverter->release();
243  }
244  return NO_CONVERTER;
245 }
virtual const CLID & objType() const =0
Retrieve the class type of objects the converter produces.
virtual StatusCode configureConverter(long typ, const CLID &clid, IConverter *cnv)
Configure the new converter before initialize is called.
The data converters are responsible to translate data from one representation into another...
Definition: IConverter.h:57
bool isSuccess() const
Test for a status code of SUCCESS.
Definition: StatusCode.h:62
virtual StatusCode addConverter(const CLID &clid)
Add converter object to conversion service.
virtual long repSvcType() const
Retrieve the class type of the data store the converter uses.
virtual long repSvcType() const =0
Retrieve the class type of the data store the converter uses.
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:30
unsigned int CLID
Class ID definition.
Definition: ClassID.h:9
No proper converter is available to the service.
virtual StatusCode initializeConverter(long typ, const CLID &clid, IConverter *cnv)
Initialize the new converter.
virtual unsigned long release()=0
Release Interface instance.
virtual IConverter * createConverter(long typ, const CLID &clid, const ICnvFactory *fac)
Create new Converter using factory.
virtual StatusCode activateConverter(long typ, const CLID &clid, IConverter *cnv)
Activate the new converter after initialization.
StatusCode ConversionSvc::addConverter ( IConverter pConverter)
virtual

Add converter object to conversion service.

Implements IConversionSvc.

Definition at line 248 of file ConversionSvc.cpp.

248  {
249  if ( 0 != pConverter ) {
250  const CLID& clid = pConverter->objType();
251  removeConverter(clid).ignore();
252  m_workers->push_back(WorkerEntry(clid, pConverter));
253  pConverter->addRef();
254  return StatusCode::SUCCESS;
255  }
256  return NO_CONVERTER;
257 }
virtual const CLID & objType() const =0
Retrieve the class type of objects the converter produces.
Workers * m_workers
List of conversion workers.
virtual StatusCode removeConverter(const CLID &clid)
Remove converter object from conversion service (if present).
unsigned int CLID
Class ID definition.
Definition: ClassID.h:9
No proper converter is available to the service.
virtual unsigned long addRef()=0
Increment the reference count of Interface instance.
void ignore() const
Definition: StatusCode.h:94
SmartIF< IAddressCreator > & ConversionSvc::addressCreator ( ) const
virtual

Retrieve address creator facility.

Access the transient store.

Implements IConverter.

Definition at line 206 of file ConversionSvc.cpp.

206  {
207  return m_addressCreator;
208 }
SmartIF< IAddressCreator > m_addressCreator
Pointer to the address creation service interface.
virtual SmartIF<IAddressCreator>& ConversionSvc::addressCreator ( )
inlineprotectedvirtual

Retrieve address creation interface.

Definition at line 216 of file ConversionSvc.h.

216  {
217  return m_addressCreator;
218  }
SmartIF< IAddressCreator > m_addressCreator
Pointer to the address creation service interface.
StatusCode ConversionSvc::commitOutput ( const std::string &  output,
bool  do_commit 
)
virtual

Commit pending output.

Implements IConversionSvc.

Reimplemented in Gaudi::RootCnvSvc.

Definition at line 371 of file ConversionSvc.cpp.

371  {
372  return StatusCode::SUCCESS;
373 }
StatusCode ConversionSvc::configureConverter ( long  typ,
const CLID clid,
IConverter cnv 
)
protectedvirtual

Configure the new converter before initialize is called.

Configure the freshly created converter.

Definition at line 317 of file ConversionSvc.cpp.

319  {
320  if ( 0 != pConverter ) {
321  pConverter->setConversionSvc(this).ignore();
322  pConverter->setAddressCreator(m_addressCreator).ignore();
323  pConverter->setDataProvider(m_dataSvc).ignore();
324  return StatusCode::SUCCESS;
325  }
326  return NO_CONVERTER;
327 }
SmartIF< IAddressCreator > m_addressCreator
Pointer to the address creation service interface.
SmartIF< IDataProviderSvc > m_dataSvc
Pointer to data provider service.
No proper converter is available to the service.
StatusCode ConversionSvc::connectOutput ( const std::string &  outputFile,
const std::string &  openMode 
)
virtual

Connect the output file to the service with open mode.

Implements IConversionSvc.

Reimplemented in Gaudi::RootCnvSvc.

Definition at line 360 of file ConversionSvc.cpp.

361  {
362  return connectOutput(outputFile);
363 }
virtual StatusCode connectOutput(const std::string &outputFile, const std::string &openMode)
Connect the output file to the service with open mode.
StatusCode ConversionSvc::connectOutput ( const std::string &  output)
virtual

Connect the output file to the service.

Implements IConversionSvc.

Reimplemented in Gaudi::RootCnvSvc.

Definition at line 366 of file ConversionSvc.cpp.

366  {
367  return StatusCode::SUCCESS;
368 }
SmartIF< IConversionSvc > & ConversionSvc::conversionSvc ( ) const
virtual

Implementation of IConverter: Get conversion service the converter is connected to.

Get conversion service the converter is connected to.

Implements IConverter.

Definition at line 216 of file ConversionSvc.cpp.

216  {
217  return m_cnvSvc;
218 }
SmartIF< IConversionSvc > m_cnvSvc
Pointer to the IConversionSvc interface of this.
StatusCode ConversionSvc::convertAddress ( const IOpaqueAddress pAddress,
std::string &  refAddress 
)
virtual

Convert an address to string form.

Implements IAddressCreator.

Definition at line 386 of file ConversionSvc.cpp.

388 {
389  refAddress = "";
390  return StatusCode::FAILURE;
391 }
IConverter * ConversionSvc::converter ( const CLID wanted)
virtual

Retrieve converter from list.

Implements IConversionSvc.

Definition at line 145 of file ConversionSvc.cpp.

145  {
146  IConverter* cnv = 0;
147  Workers::iterator i = std::find_if(m_workers->begin(),m_workers->end(),CnvTest(clid));
148  if ( i != m_workers->end() ) {
149  cnv = (*i).converter();
150  }
151  if ( 0 == cnv ) {
152  StatusCode status = addConverter(clid);
153  if ( status.isSuccess() ) {
154  i = std::find_if(m_workers->begin(),m_workers->end(),CnvTest(clid));
155  if ( i != m_workers->end() ) {
156  cnv = (*i).converter();
157  }
158  }
159  }
160  return cnv;
161 }
The data converters are responsible to translate data from one representation into another...
Definition: IConverter.h:57
Workers * m_workers
List of conversion workers.
bool isSuccess() const
Test for a status code of SUCCESS.
Definition: StatusCode.h:62
virtual StatusCode addConverter(const CLID &clid)
Add converter object to conversion service.
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:30
list i
Definition: ana.py:128
StatusCode ConversionSvc::createAddress ( long  svc_type,
const CLID clid,
const std::string *  par,
const unsigned long *  ip,
IOpaqueAddress *&  refpAddress 
)
virtual

Create a Generic address using explicit arguments to identify a single object.

Implements IAddressCreator.

Reimplemented in Gaudi::RootCnvSvc.

Definition at line 376 of file ConversionSvc.cpp.

380  {
381  refpAddress = 0;
382  return StatusCode::FAILURE;
383 }
StatusCode ConversionSvc::createAddress ( long  svc_type,
const CLID clid,
const std::string &  refAddress,
IOpaqueAddress *&  refpAddress 
)
virtual

Convert an address in string form to object form.

Implements IAddressCreator.

Reimplemented in Gaudi::RootCnvSvc.

Definition at line 394 of file ConversionSvc.cpp.

398 {
399  refpAddress = 0;
400  return StatusCode::FAILURE;
401 }
IConverter * ConversionSvc::createConverter ( long  typ,
const CLID clid,
const ICnvFactory *  fac 
)
protectedvirtual

Create new Converter using factory.

Reimplemented in Gaudi::RootCnvSvc.

Definition at line 304 of file ConversionSvc.cpp.

306  {
307  IConverter* pConverter;
308  pConverter = Converter::Factory::create(ConverterID(typ,clid), serviceLocator().get());
309  if ( 0 == pConverter ) {
310  typ = (typ<0xFF) ? typ : typ&0xFFFFFF00;
311  pConverter = Converter::Factory::create(ConverterID(typ,clid), serviceLocator().get());
312  }
313  return pConverter;
314 }
The data converters are responsible to translate data from one representation into another...
Definition: IConverter.h:57
SmartIF< ISvcLocator > & serviceLocator() const
Retrieve pointer to service locator.
Definition: Service.cpp:336
StatusCode ConversionSvc::createObj ( IOpaqueAddress pAddress,
DataObject *&  refpObject 
)
virtual

Implementation of IConverter: Create the transient representation of an object.

Create the transient representation of an object.

Implements IConverter.

Definition at line 105 of file ConversionSvc.cpp.

105  {
106  return makeCall(CREATE_OBJ, false, true, false, pAddress, refpObj);
107 }
StatusCode makeCall(int typ, bool ignore_add, bool ignore_obj, bool update, IOpaqueAddress *&pAddress, DataObject *&pObject)
StatusCode ConversionSvc::createRep ( DataObject pObject,
IOpaqueAddress *&  refpAddress 
)
virtual

Implementation of IConverter: Convert the transient object to the requested representation.

Convert the transient object to the requested representation.

Implements IConverter.

Reimplemented in RootHistCnv::PersSvc.

Definition at line 125 of file ConversionSvc.cpp.

125  {
126  return makeCall(CREATE_REP, true, false, false, refpAddress, pObj);
127 }
StatusCode makeCall(int typ, bool ignore_add, bool ignore_obj, bool update, IOpaqueAddress *&pAddress, DataObject *&pObject)
SmartIF< IDataProviderSvc > & ConversionSvc::dataProvider ( ) const
virtual

Implementation of IConverter: Get Data provider service.

Access the transient store.

Returns
Pointer to data provider service

Implements IConverter.

Definition at line 184 of file ConversionSvc.cpp.

184  {
185  return m_dataSvc;
186 }
SmartIF< IDataProviderSvc > m_dataSvc
Pointer to data provider service.
StatusCode ConversionSvc::fillObjRefs ( IOpaqueAddress pAddress,
DataObject pObject 
)
virtual

Implementation of IConverter: Resolve the references of the created transient object.

Resolve the references of the created transient object.

Implements IConverter.

Definition at line 110 of file ConversionSvc.cpp.

110  {
111  return makeCall(FILL_OBJ_REFS, false, true, true, pAddress, pObj);
112 }
StatusCode makeCall(int typ, bool ignore_add, bool ignore_obj, bool update, IOpaqueAddress *&pAddress, DataObject *&pObject)
StatusCode ConversionSvc::fillRepRefs ( IOpaqueAddress pAddress,
DataObject pObject 
)
virtual

Implementation of IConverter: Resolve the references of the converted object.

Resolve the references of the converted object.

Implements IConverter.

Definition at line 130 of file ConversionSvc.cpp.

130  {
131  return makeCall(FILL_REP_REFS, true, false, false, pAddress, pObj);
132 }
StatusCode makeCall(int typ, bool ignore_add, bool ignore_obj, bool update, IOpaqueAddress *&pAddress, DataObject *&pObject)
StatusCode ConversionSvc::finalize ( )
virtual

stop the service.

Reimplemented from Service.

Reimplemented in Gaudi::RootCnvSvc, and RootHistCnv::PersSvc.

Definition at line 285 of file ConversionSvc.cpp.

285  {
286  // Release all workers.
287  MsgStream log(msgSvc(), name());
288  for ( Workers::iterator i = m_workers->begin(); i != m_workers->end(); i++ ) {
289  if ( (*i).converter()->finalize().isFailure() ) {
290  log << MSG::ERROR << "finalizing worker" << endmsg;
291  }
292  (*i).converter()->release();
293  }
294  m_workers->erase(m_workers->begin(), m_workers->end() );
295  // release interfaces
296  m_addressCreator = 0;
297  m_dataSvc = 0;
298  m_cnvSvc = 0;
299  return Service::finalize();
300 }
Definition of the MsgStream class used to transmit messages.
Definition: MsgStream.h:24
Workers * m_workers
List of conversion workers.
SmartIF< IMessageSvc > & msgSvc() const
The standard message service.
SmartIF< IAddressCreator > m_addressCreator
Pointer to the address creation service interface.
virtual const std::string & name() const
Retrieve name of the service.
Definition: Service.cpp:331
SmartIF< IDataProviderSvc > m_dataSvc
Pointer to data provider service.
SmartIF< IConversionSvc > m_cnvSvc
Pointer to the IConversionSvc interface of this.
list i
Definition: ana.py:128
virtual StatusCode finalize()
Finalize (from INITIALIZED to CONFIGURED).
Definition: Service.cpp:199
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Definition: MsgStream.h:243
StatusCode ConversionSvc::initialize ( )
virtual

Initialize the service.

Reimplemented from Service.

Reimplemented in Gaudi::RootCnvSvc, and RootHistCnv::PersSvc.

Definition at line 279 of file ConversionSvc.cpp.

279  {
280  StatusCode status = Service::initialize();
281  return status;
282 }
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:30
virtual StatusCode initialize()
Initialization (from CONFIGURED to INITIALIZED).
Definition: Service.cpp:74
StatusCode ConversionSvc::initializeConverter ( long  typ,
const CLID clid,
IConverter cnv 
)
protectedvirtual

Initialize the new converter.

Initialize new converter.

Definition at line 330 of file ConversionSvc.cpp.

332  {
333  if ( pConverter ) {
334  return pConverter->initialize();
335  }
336  return NO_CONVERTER;
337 }
No proper converter is available to the service.
void ConversionSvc::loadConverter ( DataObject pObject)
protectedvirtual

Load converter or dictionary needed by the converter.

Reimplemented in Gaudi::RootCnvSvc.

Definition at line 96 of file ConversionSvc.cpp.

96  {
97 
98 }
StatusCode ConversionSvc::makeCall ( int  typ,
bool  ignore_add,
bool  ignore_obj,
bool  update,
IOpaqueAddress *&  pAddress,
DataObject *&  pObject 
)
protected

Definition at line 24 of file ConversionSvc.cpp.

29  {
30  if ( 0 != pAddress || ignore_add ) {
31  if ( 0 != pObject || ignore_obj ) {
32  const CLID& obj_class =
33  (0 != pObject && !ignore_obj) ? pObject->clID()
34  : (0 != pAddress && !ignore_add)
35  ? pAddress->clID()
36  : CLID_NULL;
37  IConverter* cnv = converter(obj_class);
38  if ( !cnv && pObject ) {
39  //Give it a try to autoload the class (dictionary) for which the converter is needed
40  loadConverter( pObject);
41  cnv = converter(obj_class);
42  }
43 
44  StatusCode status(StatusCode::FAILURE,true);
45  if ( 0 != cnv ) {
46  switch(typ) {
47  case CREATE_OBJ:
48  pObject = 0;
49  status = cnv->createObj(pAddress, pObject);
50  break;
51  case FILL_OBJ_REFS:
52  status = cnv->fillObjRefs(pAddress, pObject);
53  break;
54  case UPDATE_OBJ:
55  status = cnv->updateObj(pAddress, pObject);
56  break;
57  case UPDATE_OBJ_REFS:
58  status = cnv->updateObjRefs(pAddress, pObject);
59  break;
60  case CREATE_REP:
61  pAddress = 0;
62  status = cnv->createRep(pObject, pAddress);
63  break;
64  case FILL_REP_REFS:
65  status = cnv->fillRepRefs(pAddress, pObject);
66  break;
67  case UPDATE_REP:
68  status = cnv->updateRep(pAddress, pObject);
69  break;
70  case UPDATE_REP_REFS:
71  status = cnv->updateRepRefs(pAddress, pObject);
72  break;
73  default:
74  status = StatusCode::FAILURE;
75  break;
76  }
77  if ( status.isSuccess() && update ) {
78  status = updateServiceState(pAddress);
79  }
80  return status;
81  }
82  status.ignore();
83  MsgStream log(msgSvc(), name());
84  log << MSG::INFO << "No converter for object ";
85  if ( pObject != 0 ) {
86  log << System::typeinfoName(typeid(*pObject));
87  }
88  log << " CLID= " << obj_class << endmsg;
89  return NO_CONVERTER;
90  }
91  return INVALID_OBJECT;
92  }
93  return INVALID_ADDRESS;
94 }
Definition of the MsgStream class used to transmit messages.
Definition: MsgStream.h:24
The data converters are responsible to translate data from one representation into another...
Definition: IConverter.h:57
virtual StatusCode createObj(IOpaqueAddress *pAddress, DataObject *&refpObject)=0
Create the transient representation of an object.
Invalid address information.
Definition: IConverter.h:205
GAUDI_API const std::string typeinfoName(const std::type_info &)
Get platform independent information about the class type.
Definition: System.cpp:298
SmartIF< IMessageSvc > & msgSvc() const
The standard message service.
virtual StatusCode createRep(DataObject *pObject, IOpaqueAddress *&refpAddress)=0
Convert the transient object to the requested representation.
Object to be converted is invalid.
Definition: IConverter.h:207
virtual StatusCode updateRepRefs(IOpaqueAddress *pAddress, DataObject *pObject)=0
Update the references of an already converted object.
virtual void loadConverter(DataObject *pObject)
Load converter or dictionary needed by the converter.
virtual StatusCode updateObj(IOpaqueAddress *pAddress, DataObject *refpObject)=0
Update the transient object from the other representation.
virtual const CLID & clID() const
Retrieve reference to class definition structure.
Definition: DataObject.cpp:58
virtual const CLID & clID() const =0
Retrieve class information from link.
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:30
virtual StatusCode updateObjRefs(IOpaqueAddress *pAddress, DataObject *pObject)=0
Update the references of an updated transient object.
virtual StatusCode updateRep(IOpaqueAddress *pAddress, DataObject *pObject)=0
Update the converted representation of a transient object.
unsigned int CLID
Class ID definition.
Definition: ClassID.h:9
virtual const std::string & name() const
Retrieve name of the service.
Definition: Service.cpp:331
virtual StatusCode updateServiceState(IOpaqueAddress *pAddress)
Update state of the service.
No proper converter is available to the service.
def update
Definition: install.py:213
virtual StatusCode fillObjRefs(IOpaqueAddress *pAddress, DataObject *pObject)=0
Resolve the references of the created transient object.
virtual IConverter * converter(const CLID &wanted)
Retrieve converter from list.
virtual StatusCode fillRepRefs(IOpaqueAddress *pAddress, DataObject *pObject)=0
Resolve the references of the converted object.
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Definition: MsgStream.h:243
const CLID & ConversionSvc::objType ( ) const
virtual

Implementation of IConverter: dummy call.

Retrieve the class type of objects the converter produces.

Implements IConverter.

Definition at line 350 of file ConversionSvc.cpp.

350  {
351  return CLID_NULL;
352 }
ConversionSvc& ConversionSvc::operator= ( const ConversionSvc )
private

Fake assignment operator (never implemented).

StatusCode ConversionSvc::removeConverter ( const CLID clid)
virtual

Remove converter object from conversion service (if present).

Implements IConversionSvc.

Definition at line 260 of file ConversionSvc.cpp.

260  {
261  CnvTest test(clid);
262  Workers::iterator stop = m_workers->end();
263  Workers::iterator start = m_workers->begin();
264  for(Workers::iterator i=start; i != stop; i++ ) {
265  if ( test( *i ) ) {
266  (*i).converter()->finalize().ignore();
267  (*i).converter()->release();
268  }
269  }
270  Workers::iterator j = std::remove_if(start, stop, test);
271  if ( j != stop ) {
272  m_workers->erase(j, stop);
273  return StatusCode::SUCCESS;
274  }
275  return NO_CONVERTER;
276 }
virtual StatusCode stop()
Stop (from RUNNING to INITIALIZED).
Definition: Service.cpp:152
Workers * m_workers
List of conversion workers.
No proper converter is available to the service.
virtual StatusCode start()
Start (from INITIALIZED to RUNNING).
Definition: Service.cpp:158
list i
Definition: ana.py:128
long ConversionSvc::repSvcType ( ) const
virtual

Retrieve the class type of the data store the converter uses.

Implements IConverter.

Definition at line 355 of file ConversionSvc.cpp.

355  {
356  return m_type;
357 }
long m_type
Conversion service type.
StatusCode ConversionSvc::setAddressCreator ( IAddressCreator creator)
virtual

Set address creator facility.

Implements IConverter.

Definition at line 189 of file ConversionSvc.cpp.

189  {
190  m_addressCreator = creator;
191  Workers::iterator stop = m_workers->end();
192  Workers::iterator start = m_workers->begin();
193  for(Workers::iterator i=start; i != stop; i++ ) {
194  IConverter* cnv = (*i).converter();
195  if ( 0 != cnv ) {
197  MsgStream log(msgSvc(), name());
198  log << MSG::ERROR << "setting Address Creator" << endmsg;
199  }
200  }
201  }
202  return StatusCode::SUCCESS;
203 }
Definition of the MsgStream class used to transmit messages.
Definition: MsgStream.h:24
The data converters are responsible to translate data from one representation into another...
Definition: IConverter.h:57
virtual StatusCode stop()
Stop (from RUNNING to INITIALIZED).
Definition: Service.cpp:152
Workers * m_workers
List of conversion workers.
SmartIF< IMessageSvc > & msgSvc() const
The standard message service.
SmartIF< IAddressCreator > m_addressCreator
Pointer to the address creation service interface.
bool isFailure() const
Test for a status code of FAILURE.
Definition: StatusCode.h:72
virtual const std::string & name() const
Retrieve name of the service.
Definition: Service.cpp:331
virtual StatusCode setAddressCreator(IAddressCreator *creator)=0
Set address creator facility.
virtual StatusCode start()
Start (from INITIALIZED to RUNNING).
Definition: Service.cpp:158
list i
Definition: ana.py:128
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Definition: MsgStream.h:243
StatusCode ConversionSvc::setConversionSvc ( IConversionSvc svc)
virtual

Implementation of IConverter: Set conversion service the converter is connected to.

Set conversion service the converter is connected to.

Implements IConverter.

Definition at line 211 of file ConversionSvc.cpp.

211  {
212  return StatusCode::FAILURE;
213 }
StatusCode ConversionSvc::setDataProvider ( IDataProviderSvc pService)
virtual

Implementation of IConverter: Set Data provider service.

Define transient data store.

Returns
Status code indicating success or failure
Parameters
pServicePointer to data provider service

Implements IConverter.

Definition at line 164 of file ConversionSvc.cpp.

164  {
165  if ( !pDataSvc ) return StatusCode::SUCCESS; //Atlas does not use DataSvc
166  if ( m_dataSvc ) m_dataSvc->release();
167  m_dataSvc = pDataSvc;
168  m_dataSvc->addRef();
169  Workers::iterator stop = m_workers->end();
170  Workers::iterator start = m_workers->begin();
171  for(Workers::iterator i=start; i != stop; i++ ) {
172  IConverter* cnv = (*i).converter();
173  if ( 0 != cnv ) {
174  if (cnv->setDataProvider(m_dataSvc).isFailure()) {
175  MsgStream log(msgSvc(), name());
176  log << MSG::ERROR << "setting Data Provider" << endmsg;
177  }
178  }
179  }
180  return StatusCode::SUCCESS;
181 }
Definition of the MsgStream class used to transmit messages.
Definition: MsgStream.h:24
The data converters are responsible to translate data from one representation into another...
Definition: IConverter.h:57
virtual StatusCode stop()
Stop (from RUNNING to INITIALIZED).
Definition: Service.cpp:152
Workers * m_workers
List of conversion workers.
SmartIF< IMessageSvc > & msgSvc() const
The standard message service.
virtual StatusCode setDataProvider(IDataProviderSvc *pService)=0
Set Data provider service.
bool isFailure() const
Test for a status code of FAILURE.
Definition: StatusCode.h:72
virtual const std::string & name() const
Retrieve name of the service.
Definition: Service.cpp:331
SmartIF< IDataProviderSvc > m_dataSvc
Pointer to data provider service.
virtual StatusCode start()
Start (from INITIALIZED to RUNNING).
Definition: Service.cpp:158
list i
Definition: ana.py:128
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Definition: MsgStream.h:243
StatusCode ConversionSvc::updateObj ( IOpaqueAddress pAddress,
DataObject refpObject 
)
virtual

Implementation of IConverter: Update the transient object from the other representation.

Update the transient object from the other representation.

Implements IConverter.

Definition at line 115 of file ConversionSvc.cpp.

115  {
116  return makeCall(UPDATE_OBJ, false, true, false, pAddress, pObj);
117 }
StatusCode makeCall(int typ, bool ignore_add, bool ignore_obj, bool update, IOpaqueAddress *&pAddress, DataObject *&pObject)
StatusCode ConversionSvc::updateObjRefs ( IOpaqueAddress pAddress,
DataObject pObject 
)
virtual

Implementation of IConverter: Update the references of an updated transient object.

Update the references of an updated transient object.

Implements IConverter.

Definition at line 120 of file ConversionSvc.cpp.

120  {
121  return makeCall(UPDATE_OBJ_REFS, false, true, true, pAddress, pObj);
122 }
StatusCode makeCall(int typ, bool ignore_add, bool ignore_obj, bool update, IOpaqueAddress *&pAddress, DataObject *&pObject)
StatusCode ConversionSvc::updateRep ( IOpaqueAddress pAddress,
DataObject pObject 
)
virtual

Implementation of IConverter: Update the converted representation of a transient object.

Update the converted representation of a transient object.

Implements IConverter.

Definition at line 135 of file ConversionSvc.cpp.

135  {
136  return makeCall(UPDATE_REP, true, false, false, pAddress, pObj);
137 }
StatusCode makeCall(int typ, bool ignore_add, bool ignore_obj, bool update, IOpaqueAddress *&pAddress, DataObject *&pObject)
StatusCode ConversionSvc::updateRepRefs ( IOpaqueAddress pAddress,
DataObject pObject 
)
virtual

Implementation of IConverter: Update the references of an already converted object.

Update the references of an already converted object.

Implements IConverter.

Definition at line 140 of file ConversionSvc.cpp.

140  {
141  return makeCall(UPDATE_REP_REFS, true, false, false, pAddress, pObj);
142 }
StatusCode makeCall(int typ, bool ignore_add, bool ignore_obj, bool update, IOpaqueAddress *&pAddress, DataObject *&pObject)
StatusCode ConversionSvc::updateServiceState ( IOpaqueAddress pAddress)
virtual

Update state of the service.

Reimplemented in Gaudi::RootCnvSvc.

Definition at line 100 of file ConversionSvc.cpp.

100  {
101  return StatusCode::SUCCESS;
102 }

Member Data Documentation

SmartIF<IAddressCreator> ConversionSvc::m_addressCreator
mutableprotected

Pointer to the address creation service interface.

Definition at line 231 of file ConversionSvc.h.

SmartIF<IConversionSvc> ConversionSvc::m_cnvSvc
mutableprotected

Pointer to the IConversionSvc interface of this.

Definition at line 233 of file ConversionSvc.h.

SmartIF<IDataProviderSvc> ConversionSvc::m_dataSvc
mutableprotected

Pointer to data provider service.

Definition at line 229 of file ConversionSvc.h.

long ConversionSvc::m_type
protected

Conversion service type.

Definition at line 235 of file ConversionSvc.h.

Workers* ConversionSvc::m_workers
protected

List of conversion workers.

Definition at line 237 of file ConversionSvc.h.


The documentation for this class was generated from the following files: