#include <GaudiKernel/ConversionSvc.h>
Inheritance diagram for ConversionSvc:

Public Types | |
| typedef std::vector<WorkerEntry> | Workers |
Public Methods | |
| virtual StatusCode | initialize () |
| Initialize the service. More... | |
| virtual StatusCode | finalize () |
| stop the service. More... | |
| virtual unsigned char | repSvcType () const |
| Retrieve the class type of the data store the converter uses. More... | |
| virtual StatusCode | updateServiceState (IOpaqueAddress* pAddress) |
| Update state of the service. More... | |
| virtual StatusCode | createObj (IOpaqueAddress* pAddress, DataObject*& refpObject) |
| Create a transient representation from another representation of this object. More... | |
| virtual StatusCode | updateObj (IOpaqueAddress* pAddress, DataObject* pObject) |
| Update a transient representation from another representation of this object. More... | |
| virtual StatusCode | updateReps (IDataSelector* pSelector) |
| Update the original representation of a collection of transient objects. More... | |
| virtual StatusCode | createReps (IDataSelector* pSelector) |
| Convert a collection of transient data objects into another representation. More... | |
| virtual StatusCode | setStore (IDataProviderSvc* pStore) |
| Define transient dat store. More... | |
| virtual StatusCode | addConverter (IConverter* pConverter) |
| Add converter object to conversion service. More... | |
| virtual StatusCode | addConverter (const ICnvFactory& refFactory) |
| Add converter object to conversion service. The converter will immediately be instantiated using the factory and initialized. More... | |
| virtual StatusCode | removeConverter (const CLID& clid) |
| Remove converter object from conversion service (if present). More... | |
| virtual StatusCode | connectOutput (const std::string& outputFile) |
| Connect the output file to the service. More... | |
| virtual StatusCode | createAddress (const GenericLinkBase & link, const std::string& dbName, const std::string& contName, const std::string& objName, IOpaqueAddress*& refpAddress) |
| Create a Generic address using explicit arguments to identify a single object. More... | |
| virtual StatusCode | createAddress (unsigned char type, const CLID& classId, const std::string& dbName, const std::string& contName, int seqId, IOpaqueAddress*& refpAddress) |
| Create a Generic address using explicit arguments to identify a single object. More... | |
| virtual StatusCode | setAddressCreator (IAddressCreator* creator) |
| Set address creator facility. More... | |
| ConversionSvc (const std::string& name, ISvcLocator* svc, unsigned char type) | |
| Standard Constructor. More... | |
| virtual StatusCode | queryInterface (const IID& riid, void** ppvInterface) |
| Query interface. More... | |
Protected Types | |
| typedef std::vector<ContextEntry> | Context |
Protected Methods | |
| virtual | ~ConversionSvc () |
| Standard Destructor. More... | |
| virtual IConverter* | converter (const CLID& wanted_class) |
| Retrieve converter from list. More... | |
| virtual const ICnvFactory* | findCnvFactory (const CLID& wanted) |
| Locate converter factory. More... | |
| virtual StatusCode | initializeConverter (IConverter* cnv) |
| Initialize new converter. More... | |
| virtual IConverter* | createConverter (const ICnvFactory& fac) |
| Create new Converter using factory. More... | |
| virtual IAddressCreator* | addressCreator () |
| Retrieve address creation interface. More... | |
| virtual void | setAddressFactory (const IAddrFactory* pAddrFactory) |
| Set the address factory for this conversion service TYPE. More... | |
| ICnvManager* | cnvManager () |
| Retrieve converter from list. More... | |
Protected Attributes | |
| IDataProviderSvc* | m_dataSvc |
| Pointer to data provider service. More... | |
| ICnvManager* | m_cnvManager |
| Pointer to data provider service. More... | |
| IAddressCreator* | m_addressCreator |
| Pointer to the address creation service interface. More... | |
| unsigned char | m_type |
| Conversion service type. More... | |
| const IAddrFactory* | m_addressFactory |
| Pointer to address creation factory for the convsersion type. More... | |
| Workers* | m_workers |
| List of conversion workers. More... | |
Friends | |
| class | SvcFactory2< ConversionSvc,unsigned char > |
It manages a set of Converters that are specialized for conversions of specific objects.
Definition at line 27 of file ConversionSvc.h.
|
|
Definition at line 60 of file ConversionSvc.h. |
|
|
Definition at line 87 of file ConversionSvc.h. Referenced by ConversionSvc(). |
|
|
Standard Constructor.
Definition at line 358 of file ConversionSvc.cpp. |
|
|
Standard Destructor.
Definition at line 369 of file ConversionSvc.cpp. |
|
|
Add converter object to conversion service. The converter will immediately be instantiated using the factory and initialized.
Reimplemented from IConversionSvc. Definition at line 268 of file ConversionSvc.cpp. |
|
|
Add converter object to conversion service.
Reimplemented from IConversionSvc. Definition at line 258 of file ConversionSvc.cpp. Referenced by addConverter(), and converter(). |
|
|
Retrieve address creation interface.
Definition at line 183 of file ConversionSvc.h. |
|
|
Retrieve converter from list.
Definition at line 192 of file ConversionSvc.h. |
|
|
Connect the output file to the service.
Reimplemented from IConversionSvc. Definition at line 318 of file ConversionSvc.cpp. |
|
|
Retrieve converter from list.
Definition at line 217 of file ConversionSvc.cpp. Referenced by createObj(), createReps(), updateObj(), and updateReps(). |
|
|
Create a Generic address using explicit arguments to identify a single object.
Reimplemented from IAddressCreator. Definition at line 329 of file ConversionSvc.cpp. |
|
|
Create a Generic address using explicit arguments to identify a single object.
Reimplemented from IAddressCreator. Definition at line 344 of file ConversionSvc.cpp. |
|
|
Create new Converter using factory.
Definition at line 253 of file ConversionSvc.cpp. Referenced by addConverter(). |
|
|
Create a transient representation from another representation of this object.
Reimplemented from IConversionSvc. Definition at line 61 of file ConversionSvc.cpp. |
|
|
Convert a collection of transient data objects into another representation.
Reimplemented from IConversionSvc. Definition at line 161 of file ConversionSvc.cpp. |
|
|
stop the service.
Reimplemented from Service. Definition at line 50 of file ConversionSvc.cpp. |
|
|
Locate converter factory.
Definition at line 212 of file ConversionSvc.cpp. Referenced by converter(). |
|
|
Initialize the service.
Reimplemented from Service. Definition at line 38 of file ConversionSvc.cpp. |
|
|
Initialize new converter.
Definition at line 245 of file ConversionSvc.cpp. Referenced by addConverter(). |
|
|
Query interface.
Reimplemented from Service. Definition at line 297 of file ConversionSvc.cpp. |
|
|
Remove converter object from conversion service (if present).
Reimplemented from IConversionSvc. Definition at line 279 of file ConversionSvc.cpp. Referenced by addConverter(). |
|
|
Retrieve the class type of the data store the converter uses.
Reimplemented from IConversionSvc. Definition at line 313 of file ConversionSvc.cpp. Referenced by addConverter(), createAddress(), and updateReps(). |
|
|
Set address creator facility.
Reimplemented from IConversionSvc. Definition at line 323 of file ConversionSvc.cpp. |
|
|
Set the address factory for this conversion service TYPE.
Definition at line 188 of file ConversionSvc.h. |
|
|
Define transient dat store.
Reimplemented from IConversionSvc. Definition at line 237 of file ConversionSvc.cpp. |
|
|
Update a transient representation from another representation of this object.
Reimplemented from IConversionSvc. Definition at line 88 of file ConversionSvc.cpp. |
|
|
Update the original representation of a collection of transient objects.
Reimplemented from IConversionSvc. Definition at line 111 of file ConversionSvc.cpp. |
|
|
Update state of the service.
Definition at line 56 of file ConversionSvc.cpp. |
|
|
Definition at line 31 of file ConversionSvc.h. |
|
|
Pointer to the address creation service interface.
Definition at line 202 of file ConversionSvc.h. |
|
|
Pointer to address creation factory for the convsersion type.
Definition at line 206 of file ConversionSvc.h. |
|
|
Pointer to data provider service.
Definition at line 200 of file ConversionSvc.h. |
|
|
Pointer to data provider service.
Definition at line 198 of file ConversionSvc.h. |
|
|
Conversion service type.
Definition at line 204 of file ConversionSvc.h. |
|
|
List of conversion workers.
Definition at line 208 of file ConversionSvc.h. |
1.2.3 written by Dimitri van Heesch,
© 1997-2000