1 #ifndef GAUDIKERNEL_GENERICADDRESS_H
2 #define GAUDIKERNEL_GENERICADDRESS_H
5 #include "GaudiKernel/Kernel.h"
6 #include "GaudiKernel/IOpaqueAddress.h"
23 unsigned long m_refCount = 0;
31 unsigned long m_ipar[2] = {0xFFFFFFFF,0xFFFFFFFF};
41 m_svcType(copy.m_svcType),
43 m_pRegistry(copy.m_pRegistry)
45 m_par[0] = copy.
m_par[0];
46 m_par[1] = copy.
m_par[1];
47 m_ipar[0] = copy.
m_ipar[0];
48 m_ipar[1] = copy.
m_ipar[1];
60 m_par[0] = std::move(p1);
61 m_par[1] = std::move(p2);
70 unsigned long addRef ()
override {
74 unsigned long release()
override {
75 int cnt = --m_refCount;
76 if ( 0 == cnt )
delete this;
85 m_pRegistry = pRegistry;
92 void setClID(
const CLID& clid) {
100 void setSvcType(
long typ) {
104 const std::string*
par()
const override {
108 const unsigned long*
ipar()
const override {
112 #endif // GAUDIKERNEL_GENERICADDRESS_H
virtual const std::string * par() const =0
Retrieve String parameters.
virtual unsigned long release()=0
release reference to object
Generic Transient Address.
virtual long svcType() const =0
Retrieve service type.
virtual const CLID & clID() const =0
Retrieve class information from link.
virtual IRegistry * registry() const =0
Update branch name.
The IRegistry represents the entry door to the environment any data object residing in a transient da...
unsigned int CLID
Class ID definition.
unsigned long m_ipar[2]
Integer parameters to be accessed.
std::string m_par[3]
String parameters to be accessed.
virtual void setRegistry(IRegistry *r)=0
Update directory pointer.
Opaque address interface definition.
virtual const unsigned long * ipar() const =0
Access to generic link parameters.
virtual unsigned long addRef()=0
Add reference to object.