The Gaudi Framework  v29r0 (ff2e7097)
IRegistry.h
Go to the documentation of this file.
1 #ifndef GAUDIKERNEL_IREGISTRY_H
2 #define GAUDIKERNEL_IREGISTRY_H
3 
4 // Include files
5 #include "GaudiKernel/Kernel.h"
6 #include <string>
7 
8 // forward declarations
9 class DataObject;
10 class IOpaqueAddress;
11 class IDataProviderSvc;
12 
23 {
24 public:
30 
32  virtual ~IRegistry() = default;
33 
35  virtual unsigned long addRef() = 0;
36 
38  virtual unsigned long release() = 0;
39 
41  virtual const name_type& name() const = 0;
42 
44  virtual const id_type& identifier() const = 0;
45 
47  virtual IDataProviderSvc* dataSvc() const = 0;
48 
50  virtual DataObject* object() const = 0;
51 
53  virtual IOpaqueAddress* address() const = 0;
54 
56  virtual void setAddress( IOpaqueAddress* pAddress ) = 0;
57 };
58 #endif // KERNEL_IREGISTRY_H
Data provider interface definition.
STL class.
The IRegistry represents the entry door to the environment any data object residing in a transient da...
Definition: IRegistry.h:22
std::string name_type
Type definitions Name type.
Definition: IRegistry.h:27
std::string id_type
Identifier Key type.
Definition: IRegistry.h:29
Opaque address interface definition.
#define GAUDI_API
Definition: Kernel.h:110
A DataObject is the base class of any identifiable object on any data store.
Definition: DataObject.h:29