| # Gaudi Framework, version v21r8 |

Home |  | Generated: 17 Mar 2010

# IRegistry.h

Go to the documentation of this file.

    00001 #ifndef GAUDIKERNEL_IREGISTRY_H
    00002 #define GAUDIKERNEL_IREGISTRY_H
    00003
    00004 // Include files
    00005 #include "GaudiKernel/Kernel.h"
    00006 #include <string>
    00007
    00008 // forward declarations
    00009 class DataObject;
    00010 class IOpaqueAddress;
    00011 class IDataProviderSvc;
    00012
    00022 class GAUDI_API IRegistry  {
    00023 public:
    00026   typedef std::string name_type;
    00028   typedef std::string id_type;
    00029
    00031   virtual ~IRegistry() { }
    00032
    00034   virtual       unsigned long   addRef    ()         = 0;
    00035
    00037   virtual       unsigned long   release   ()         = 0;
    00038
    00040   virtual const name_type&      name      ()   const = 0;
    00041
    00043   virtual const id_type&        identifier()   const = 0;
    00044
    00046   virtual IDataProviderSvc*     dataSvc   ()   const = 0;
    00047
    00049   virtual DataObject*           object    ()   const = 0;
    00050
    00052   virtual IOpaqueAddress*       address   ()   const = 0;
    00053
    00055   virtual void setAddress (IOpaqueAddress* pAddress) = 0;
    00056 };
    00057 #endif // KERNEL_IREGISTRY_H