Gaudi Framework, version v20r2

Generated: 18 Jul 2008

IInterface Class Reference

#include <GaudiKernel/IInterface.h>

Inheritance diagram for IInterface:

Inheritance graph
[legend]
List of all members.

Detailed Description

Definition of the basic interface.

Author:
Pere Mato

Markus Frank

Definition at line 91 of file IInterface.h.

Public Types

enum  Status { SUCCESS = 1, NO_INTERFACE, VERSMISMATCH, LAST_ERROR }
 Return status. More...

Public Member Functions

virtual ~IInterface ()
 destructor
virtual StatusCode queryInterface (const InterfaceID &riid, void **ppvInterface)=0
 Query interfaces of Interface.
virtual unsigned long addRef ()=0
 Increment the reference count of Interface instance.
virtual unsigned long release ()=0
 Release Interface instance.

Static Public Member Functions

static const InterfaceIDinterfaceID ()
 Retrieve interface ID.


Member Enumeration Documentation

enum IInterface::Status

Return status.

Enumerator:
SUCCESS  Normal successful completion.
NO_INTERFACE  Requested interface is not available.
VERSMISMATCH  Requested interface version is incompatible.
LAST_ERROR  Last error.

Reimplemented in GFALDataStreamTool, IConversionSvc, IConverter, and IDataProviderSvc.

Definition at line 113 of file IInterface.h.

00113                 {
00115     SUCCESS = 1,
00117     NO_INTERFACE,
00119     VERSMISMATCH,
00121     LAST_ERROR
00122   };


Constructor & Destructor Documentation

virtual IInterface::~IInterface (  )  [inline, virtual]

destructor

Definition at line 97 of file IInterface.h.

00097 { }


Member Function Documentation

static const InterfaceID& IInterface::interfaceID (  )  [inline, static]

Retrieve interface ID.

Reimplemented in IErrorTool, IGenericTool, IHistoTool, ISequencerTimerTool, ITupleTool, IEqSolver, IFuncMinimum, IGslErrorHandler, IGslSvc, IAddressCreator, IAIDATupleSvc, IAlgContextSvc, IAlgManager, IAlgorithm, IAlgTool, IAppMgrUI, IAuditor, IAuditorSvc, IChronoStatSvc, IChronoSvc, IClassManager, IConversionSvc, IConverter, ICounterSvc, IDataManagerSvc, IDataProviderSvc, IDataSourceMgr, IDataStreamTool, IDetDataSvc, IEventProcessor, IEventTimeDecoder, IEvtSelector, IExceptionSvc, IFactory, IFileAccess, IHistogramSvc, IHistorySvc, IIncidentListener, IIncidentSvc, IIssueLogger, IJobOptionsSvc, IMagneticFieldSvc, IMessageSvc, IMonitorSvc, INamedInterface, INTupleSvc, IParticlePropertySvc, IPartitionControl, IPartPropSvc, IPersistencySvc, IProperty, IRndmEngine, IRndmGen, IRndmGenSvc, IRunable, ISelectStatement, ISerialize, IService, IStagerSvc, IStateful, IStatSvc, IStatusCodeSvc, ISvcLocator, ISvcManager, ITHistSvc, IToolSvc, IUpdateManagerSvc, IPoolCacheSvc, IPoolDbMgr, IPoolDbCnvFactory, Gaudi::IFileCatalog, Gaudi::IFileCatalogMgr, and Gaudi::IIODataManager.

Definition at line 94 of file IInterface.h.

References IID_IInterface.

Referenced by ApplicationMgr::queryInterface(), Service::queryInterface(), PropertyMgr::queryInterface(), Auditor::queryInterface(), AlgTool::queryInterface(), Algorithm::queryInterface(), and GslSvc::queryInterface().

00094 { return IID_IInterface; }

virtual StatusCode IInterface::queryInterface ( const InterfaceID riid,
void **  ppvInterface 
) [pure virtual]

Query interfaces of Interface.

Parameters:
riid ID of Interface to be retrieved
ppvInterface Pointer to Location for interface pointer

Implemented in TimingAuditor, GslSvc, Algorithm, AlgTool, Auditor, ConversionSvc, Converter, DataSvc, EventSelectorDataStream, MinimalEventLoopMgr, PropertyMgr, SelectStatement, Service, Gaudi::BootSvcLocator, DataListenerSvc, PoolDbCacheSvc, PoolDbCnvFactory< ConcreteConverter, i >, PoolDbCnvSvc, PoolDbEvtSelector, PythonScriptingSvc, AIDATupleSvc, AlgContextSvc, AlgorithmManager, ApplicationMgr, AppMgrRunable, DLLClassManager, ServiceManager, AuditorSvc, ChronoStatSvc, CounterSvc, MultiStoreSvc, PartitionSwitchAlg, PartitionSwitchTool, DetDataSvc, EventCollectionSelector, EventSelector, ExceptionSvc, FastContainersSvc, HistogramSvc, HistorySvc, DataOnDemandSvc, IncidentSvc, IssueLogger, JobOptionsSvc, MessageSvc, NTupleSvc, ParticlePropertySvc, PersistencySvc, RndmEngine, RndmGen, RndmGenSvc, StatusCodeSvc, THistSvc, ToolSvc, VFSSvc, Gaudi::IODataManager, Gaudi::MultiFileCatalog, Gaudi::XMLFileCatalog, and PartPropSvc.

Referenced by PersistencySvc::addCnvService(), AlgorithmManager::AlgorithmManager(), HistorySvc::captureState(), AIDATupleSvc::connect(), Gaudi::createApplicationMgr(), Gaudi::createApplicationMgrEx(), HbookCnv::PersSvc::createRep(), DataStreamTool::createSelector(), NTupleSvc::createService(), ServiceLocatorHelper::createService(), DLLClassManager::DLLClassManager(), configGenerator::genConfig(), RndmGenSvc::generator(), ServiceManager::getService(), HbookCnv::HNTupleCnv::initialize(), VFSSvc::initialize(), DetDataSvc::initialize(), AppMgrRunable::initialize(), PoolDbBaseCnv::initialize(), ServiceLocatorHelper::locateService(), MinimalEventLoopMgr::MinimalEventLoopMgr(), ToolSvc::nameTool(), SmartIF< IPartitionControl >::operator=(), ServiceManager::queryInterface(), DLLClassManager::queryInterface(), AlgorithmManager::queryInterface(), ToolSvc::retrieve(), RndmGen::RndmGen(), Auditor::service(), PoolDbCnvSvc::setDataProvider(), Converter::setDataProvider(), Gaudi::setInstance(), DataOnDemandSvc::setup(), Gaudi::svcLocator(), and ApplicationMgr::terminate().

virtual unsigned long IInterface::addRef (  )  [pure virtual]

Increment the reference count of Interface instance.

Implemented in Algorithm, AlgTool, Auditor, Converter, EventSelectorDataStream, IFactory, PropertyMgr, SelectStatement, Service, Gaudi::BootSvcLocator, PoolDbCnvFactory< ConcreteConverter, i >, AlgorithmManager, ApplicationMgr, DLLClassManager, ServiceManager, RndmGen, and Gaudi::XMLFileCatalog.

Referenced by PersistencySvc::addCnvService(), ConversionSvc::addConverter(), NTuple::TupleImp::attachSelector(), OutputStream::connectConversionSvc(), Converter::Converter(), AlgorithmManager::createAlgorithm(), MinimalEventLoopMgr::decodeTopAlgs(), AuditorSvc::findAuditor_(), configGenerator::genConfig(), Gaudi::Guards::AuditorGuard::i_before(), RndmGenSvc::initialize(), EvtCollectionStream::initialize(), MemStatAuditor::MemStatAuditor(), AuditorSvc::newAuditor_(), Rndm::Numbers::Numbers(), SmartIF< IInterface >::operator=(), ICounterSvc::Printout::Printout(), GaudiPython::PyAlg< ALGORITHM >::PyAlg(), NTupleSvc::queryInterface(), FastContainersSvc::queryInterface(), DetDataSvc::queryInterface(), PoolDbCnvSvc::queryInterface(), MultiStoreSvc::setDataLoader(), DataSvc::setDataLoader(), Converter::setDataProvider(), ConversionSvc::setDataProvider(), and EventSelectorDataStream::setSelector().

virtual unsigned long IInterface::release (  )  [pure virtual]

Release Interface instance.

Implemented in Algorithm, AlgTool, Auditor, Converter, EventSelectorDataStream, IFactory, PropertyMgr, SelectStatement, Service, Gaudi::BootSvcLocator, PoolDbCnvFactory< ConcreteConverter, i >, AlgorithmManager, ApplicationMgr, DLLClassManager, ServiceManager, RndmGen, and Gaudi::XMLFileCatalog.

Referenced by ConversionSvc::addConverter(), NTuple::TupleImp::attachSelector(), MultiStoreSvc::attachServices(), Gaudi::createApplicationMgrEx(), DataStreamTool::createSelector(), Algorithm::createSubAlgorithm(), MultiStoreSvc::detachServices(), HbookCnv::HNTupleCnv::finalize(), VFSSvc::finalize(), ToolSvc::finalize(), RndmGenSvc::finalize(), RndmEngine::finalize(), TagCollectionStream::finalize(), OutputStream::finalize(), EvtCollectionStream::finalize(), ParticlePropertySvc::finalize(), CollectionCloneAlg::finalize(), DataOnDemandSvc::finalize(), EventSelector::finalize(), EventCollectionSelector::finalize(), DetDataSvc::finalize(), StoreExplorerAlg::finalize(), EvtDataSvc::finalize(), AppMgrRunable::finalize(), ApplicationMgr::finalize(), DataListenerSvc::finalize(), Rndm::Numbers::finalize(), DataSvc::finalize(), DataStreamTool::finalize(), Converter::finalize(), ConversionSvc::finalize(), Auditor::finalize(), GaudiMain(), configGenerator::genConfig(), RndmGenSvc::generator(), Gaudi::Guards::AuditorGuard::i_after(), ApplicationMgr::i_startup(), HistogramSvc::initialize(), DetDataSvc::initialize(), PoolDbEvtSelector::initialize(), EventSelectorDataStream::initialize(), DataStreamTool::initializeStream(), DLLClassManager::loadModule(), AuditorSvc::newAuditor_(), HistogramPersistencySvc::reinitialize(), DataOnDemandSvc::reinitialize(), DataSvc::reinitialize(), ToolSvc::releaseTool(), MultiStoreSvc::setDataLoader(), DataSvc::setDataLoader(), PoolDbCnvSvc::setDataProvider(), Converter::setDataProvider(), ConversionSvc::setDataProvider(), Gaudi::setInstance(), Service::setProperties(), Auditor::setProperties(), AlgTool::setProperties(), EventSelectorDataStream::setSelector(), Service::sysFinalize(), Algorithm::~Algorithm(), AlgorithmManager::~AlgorithmManager(), AlgTool::~AlgTool(), ApplicationMgr::~ApplicationMgr(), ChronoAuditor::~ChronoAuditor(), Converter::~Converter(), DLLClassManager::~DLLClassManager(), EventLoopMgr::~EventLoopMgr(), MinimalEventLoopMgr::~MinimalEventLoopMgr(), ICounterSvc::Printout::~Printout(), RndmEngine::~RndmEngine(), RndmGen::~RndmGen(), ServiceManager::~ServiceManager(), and StatusCode::~StatusCode().


The documentation for this class was generated from the following file:
Generated at Fri Jul 18 12:08:12 2008 for Gaudi Framework, version v20r2 by Doxygen version 1.5.1 written by Dimitri van Heesch, © 1997-2004