Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

IInterface Class Reference

#include <GaudiKernel/IInterface.h>

Inheritance diagram for IInterface:

Inheritance graph
[legend]
List of all members.

Public Types

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


Public Methods

virtual StatusCode queryInterface (const InterfaceID &riid, void **ppvInterface)=0
virtual unsigned long addRef ()=0
 Increment the reference count of Interface instance. More...

virtual unsigned long release ()=0
 Release Interface instance. More...


Static Public Methods

const InterfaceIDinterfaceID ()
 Retrieve interface ID. More...


Detailed Description

Definition of the basic interface

Author:
Pere Mato , Markus Frank


Member Enumeration Documentation

enum IInterface::Status
 

Return status.

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

Member Function Documentation

virtual unsigned long IInterface::addRef   [pure virtual]
 

Increment the reference count of Interface instance.

Reimplemented in Algorithm.

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

Retrieve interface ID.

Reimplemented in IAlgorithm, and IProperty.

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

Query interfaces of Interface

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

virtual unsigned long IInterface::release   [pure virtual]
 

Release Interface instance.

Reimplemented in Algorithm.


The documentation for this class was generated from the following file:
Generated on Thu Feb 21 14:31:38 2002 for Atlfast by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001