|
Gaudi Framework, version v23r5 |
| Home | Generated: Wed Nov 28 2012 |
Definition of the basic interface. More...
#include <GaudiKernel/IInterface.h>

Public Types | |
| enum | Status { SUCCESS = 1, NO_INTERFACE, VERSMISMATCH, LAST_ERROR } |
| Return status. More... | |
| typedef Gaudi::InterfaceId < IInterface, 0, 0 > | iid |
| Interface ID. | |
| typedef mpl::set1< iid > | ext_iids |
| Extra interfaces. | |
Public Member Functions | |
| virtual void * | i_cast (const InterfaceID &) const =0 |
| main cast function | |
| virtual std::vector< std::string > | getInterfaceNames () const =0 |
| Returns a vector of strings containing the names of all the implemented interfaces. | |
| virtual unsigned long | addRef ()=0 |
| Increment the reference count of Interface instance. | |
| virtual unsigned long | release ()=0 |
| Release Interface instance. | |
| virtual unsigned long | refCount () const =0 |
| Current reference count. | |
| virtual StatusCode | queryInterface (const InterfaceID &ti, void **pp)=0 |
| Set the void** to the pointer to the requested interface of the instance. | |
| virtual | ~IInterface () |
| Virtual destructor. | |
Static Public Member Functions | |
| static const InterfaceID & | interfaceID () |
| Return an instance of InterfaceID identifying the interface. | |
Definition of the basic interface.
Definition at line 161 of file IInterface.h.
| typedef mpl::set1<iid> IInterface::ext_iids |
Extra interfaces.
Definition at line 168 of file IInterface.h.
| typedef Gaudi::InterfaceId<IInterface,0,0> IInterface::iid |
Interface ID.
Definition at line 165 of file IInterface.h.
| enum IInterface::Status |
Return status.
| SUCCESS |
Normal successful completion. |
| NO_INTERFACE |
Requested interface is not available. |
| VERSMISMATCH |
Requested interface version is incompatible. |
| LAST_ERROR |
Last error. |
Definition at line 218 of file IInterface.h.
|
inlinevirtual |
|
pure virtual |
Increment the reference count of Interface instance.
Implemented in IFactory.
|
pure virtual |
Returns a vector of strings containing the names of all the implemented interfaces.
Implemented in extends2< ComponentManager, ISvcManager, ISvcLocator >, extends1< Service, IIoComponentMgr >, extends1< DataSvc, IIncidentListener >, extends1< Service, IToolSvc >, extends1< Service, ICounterSvc >, extends1< Service, Gaudi::ISignalMonitor >, extends1< Service, IIncidentListener >, extends1< DataSvc, IHistogramSvc >, extends1< Service, IAuditorSvc >, extends1< Algorithm, IPartitionControl >, extends1< Service, IGslSvc >, extends1< Service, IPartPropSvc >, extends1< AlgTool, IDataStreamTool >, extends1< Service, IRunable >, extends1< Service, IEvtSelector >, extends1< Service, IFileAccess >, extends1< Service, IIssueLogger >, extends1< Service, IIncidentSvc >, extends1< Service, IParticlePropertySvc >, extends1< Service, IExceptionSvc >, extends1< Auditor, IIncidentListener >, extends1< GaudiTool, IFuncMinimum >, extends1< Service, IStatusCodeSvc >, extends1< Service, IEventProcessor >, extends1< AlgTool, IGslErrorHandler >, extends1< AlgTool, IFileAccess >, extends1< ComponentManager, IAlgManager >, extends1< Service, IChronoStatSvc >, extends1< AlgTool, IPartitionControl >, and extends1< GaudiTool, IEqSolver >.
|
pure virtual |
main cast function
Implemented in extends2< ComponentManager, ISvcManager, ISvcLocator >, extends1< Service, IIoComponentMgr >, extends1< DataSvc, IIncidentListener >, extends1< Service, IToolSvc >, extends1< Service, ICounterSvc >, extends1< Service, Gaudi::ISignalMonitor >, extends1< Service, IIncidentListener >, extends1< DataSvc, IHistogramSvc >, extends1< Service, IAuditorSvc >, extends1< Algorithm, IPartitionControl >, extends1< Service, IGslSvc >, extends1< Service, IPartPropSvc >, extends1< AlgTool, IDataStreamTool >, extends1< Service, IRunable >, extends1< Service, IEvtSelector >, extends1< Service, IFileAccess >, extends1< Service, IIssueLogger >, extends1< Service, IIncidentSvc >, extends1< Service, IParticlePropertySvc >, extends1< Service, IExceptionSvc >, extends1< Auditor, IIncidentListener >, extends1< GaudiTool, IFuncMinimum >, extends1< Service, IStatusCodeSvc >, extends1< Service, IEventProcessor >, extends1< AlgTool, IGslErrorHandler >, extends1< AlgTool, IFileAccess >, extends1< ComponentManager, IAlgManager >, extends1< Service, IChronoStatSvc >, extends1< AlgTool, IPartitionControl >, and extends1< GaudiTool, IEqSolver >.
|
inlinestatic |
Return an instance of InterfaceID identifying the interface.
Definition at line 172 of file IInterface.h.
|
pure virtual |
Set the void** to the pointer to the requested interface of the instance.
Implemented in PropertyMgr, extends2< ComponentManager, ISvcManager, ISvcLocator >, extends1< Service, IIoComponentMgr >, extends1< DataSvc, IIncidentListener >, extends1< Service, IToolSvc >, extends1< Service, ICounterSvc >, extends1< Service, Gaudi::ISignalMonitor >, extends1< Service, IIncidentListener >, extends1< DataSvc, IHistogramSvc >, extends1< Service, IAuditorSvc >, extends1< Algorithm, IPartitionControl >, extends1< Service, IGslSvc >, extends1< Service, IPartPropSvc >, extends1< AlgTool, IDataStreamTool >, extends1< Service, IRunable >, extends1< Service, IEvtSelector >, extends1< Service, IFileAccess >, extends1< Service, IIssueLogger >, extends1< Service, IIncidentSvc >, extends1< Service, IParticlePropertySvc >, extends1< Service, IExceptionSvc >, extends1< Auditor, IIncidentListener >, extends1< GaudiTool, IFuncMinimum >, extends1< Service, IStatusCodeSvc >, extends1< Service, IEventProcessor >, extends1< AlgTool, IGslErrorHandler >, extends1< AlgTool, IFileAccess >, extends1< ComponentManager, IAlgManager >, extends1< Service, IChronoStatSvc >, extends1< AlgTool, IPartitionControl >, extends1< GaudiTool, IEqSolver >, DLLClassManager, and ComponentManager.
|
pure virtual |
Current reference count.
Implemented in IAlgTool.
|
pure virtual |
Release Interface instance.
Implemented in IFactory.