Go to the documentation of this file.
   11 #ifndef GAUDIKERNEL_GENERICADDRESS_H 
   12 #define GAUDIKERNEL_GENERICADDRESS_H 
   33   unsigned long m_refCount = 0;
 
   41   unsigned long m_ipar[2] = {0xFFFFFFFF, 0xFFFFFFFF};
 
   50       : 
IOpaqueAddress( copy ), m_svcType( copy.m_svcType ), m_clID( copy.m_clID ), m_pRegistry( copy.m_pRegistry ) {
 
   51     m_par[0]  = copy.m_par[0];
 
   52     m_par[1]  = copy.m_par[1];
 
   53     m_ipar[0] = copy.m_ipar[0];
 
   54     m_ipar[1] = copy.m_ipar[1];
 
   58                   unsigned long ip2 = 0 )
 
   59       : m_svcType( svc ), m_clID( clid ) {
 
   69   unsigned long addRef()
 override { 
return ++m_refCount; }
 
   72     unsigned long cnt = --m_refCount;
 
   73     if ( 0 == cnt ) 
delete this;
 
   81   const CLID& 
clID()
 const override { 
return m_clID; }
 
   85   long svcType()
 const override { 
return m_svcType; }
 
   91   const unsigned long* 
ipar()
 const override { 
return m_ipar; }
 
   93 #endif // GAUDIKERNEL_GENERICADDRESS_H 
  
 
void setSvcType(long typ)
Access : set the storage type of the class id.
const CLID & clID() const override
Access : Retrieve class ID of the link.
long svcType() const override
Access : retrieve the storage type of the class id.
void setRegistry(IRegistry *pRegistry) override
Set pointer to directory.
void setClID(const CLID &clid)
Access : Set class ID of the link.
GenericAddress(long svc, const CLID &clid, std::string p1="", std::string p2="", unsigned long ip1=0, unsigned long ip2=0)
Standard Constructor.
GenericAddress(const GenericAddress ©)
Standard Copy Constructor (note: m_refCount is NOT copied)
unsigned int CLID
Class ID definition.
unsigned long release() override
release reference to object
const std::string * par() const override
Retrieve string parameters.
unsigned long addRef() override
Add reference to object.
GenericAddress & operator=(const GenericAddress ©)=default
GenericAddress()=default
Dummy constructor.
const unsigned long * ipar() const override
Retrieve integer parameters.
IRegistry * registry() const override
Pointer to directory.