|
Gaudi Framework, version v21r8 |
| Home | Generated: 17 Mar 2010 |
#include <PoolDb/PoolDbCnvFactory.h>


Public Types | |
| typedef ConcreteConverter | converter_t |
| Converter type. | |
Public Member Functions | |
| PoolDbCnvFactory () | |
| Standard constructor. | |
| virtual | ~PoolDbCnvFactory () |
| Standard destructor. | |
| virtual const std::string & | typeName () const |
| Access to object type. | |
| virtual const CLID & | objType () const |
| Access to the class type of the converter. | |
| virtual const long | repSvcType () const |
| Access to the service type of the converter. | |
| virtual unsigned long | addRef () const |
| virtual unsigned long | release () const |
| virtual const std::string & | ident () const |
| virtual unsigned long | addRef () |
| virtual unsigned long | release () |
| virtual IConverter * | instantiate (long typ, const CLID &, ISvcLocator *svcloc) const |
| Instantiation method. | |
| virtual IConverter * | instantiate (ISvcLocator *) const |
| virtual overload: Instantiate an instance of a converter | |
| virtual IInterface * | instantiate (IInterface *) const |
| Create an instance of a generic Gaudi object: Method is disabled! | |
Private Attributes | |
| std::string | m_typeName |
| Object type name. | |
Definition at line 49 of file PoolDbCnvFactory.h.
| typedef ConcreteConverter PoolDbCnvFactory< ConcreteConverter, i >::converter_t |
| PoolDbCnvFactory< ConcreteConverter, i >::PoolDbCnvFactory | ( | ) | [inline] |
Standard constructor.
Definition at line 58 of file PoolDbCnvFactory.h.
00058 { 00059 m_typeName = ""; 00060 FactoryTable::instance()->addFactory( this ); 00061 }
| virtual PoolDbCnvFactory< ConcreteConverter, i >::~PoolDbCnvFactory | ( | ) | [inline, virtual] |
| virtual const std::string& PoolDbCnvFactory< ConcreteConverter, i >::typeName | ( | ) | const [inline, virtual] |
Access to object type.
Definition at line 65 of file PoolDbCnvFactory.h.
00065 { 00066 // The name MUST be set here, not in the constructor. 00067 // At construction time it is not yet clear if we run from 00068 // an executable or a DLL. 00069 if ( m_typeName == "" ) { 00070 if ( System::moduleType() == System::SHAREDLIB ) { 00071 m_typeName = System::moduleName(); 00072 m_typeName += ":"; 00073 } 00074 // Get the class name using the RTTI. 00075 m_typeName += System::typeinfoName( typeid(ConcreteConverter) ); 00076 } 00077 return m_typeName; 00078 }
| virtual const CLID& PoolDbCnvFactory< ConcreteConverter, i >::objType | ( | ) | const [virtual] |
Access to the class type of the converter.
| virtual const long PoolDbCnvFactory< ConcreteConverter, i >::repSvcType | ( | ) | const [inline, virtual] |
Access to the service type of the converter.
Definition at line 82 of file PoolDbCnvFactory.h.
00083 { return pool::POOL_StorageType.type(); }
| virtual unsigned long PoolDbCnvFactory< ConcreteConverter, i >::addRef | ( | ) | const [inline, virtual] |
| virtual unsigned long PoolDbCnvFactory< ConcreteConverter, i >::release | ( | ) | const [inline, virtual] |
| virtual const std::string& PoolDbCnvFactory< ConcreteConverter, i >::ident | ( | ) | const [inline, virtual] |
| virtual unsigned long PoolDbCnvFactory< ConcreteConverter, i >::addRef | ( | ) | [inline, virtual] |
| virtual unsigned long PoolDbCnvFactory< ConcreteConverter, i >::release | ( | ) | [inline, virtual] |
| virtual IConverter* PoolDbCnvFactory< ConcreteConverter, i >::instantiate | ( | long | typ, | |
| const CLID & | , | |||
| ISvcLocator * | svcloc | |||
| ) | const [inline, virtual] |
Instantiation method.
| typ | [IN] Storage type of the converter to be created | |
| clid | [IN] Class identifier of the converter | |
| svcloc | [IN] Pointer to service locator object |
Definition at line 99 of file PoolDbCnvFactory.h.
| virtual IConverter* PoolDbCnvFactory< ConcreteConverter, i >::instantiate | ( | ISvcLocator * | ) | const [inline, virtual] |
virtual overload: Instantiate an instance of a converter
Definition at line 105 of file PoolDbCnvFactory.h.
| virtual IInterface* PoolDbCnvFactory< ConcreteConverter, i >::instantiate | ( | IInterface * | ) | const [inline, virtual] |
Create an instance of a generic Gaudi object: Method is disabled!
Definition at line 109 of file PoolDbCnvFactory.h.
std::string PoolDbCnvFactory< ConcreteConverter, i >::m_typeName [mutable, private] |