The Gaudi Framework  master (d98a2936)
IOpaqueAddress.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2025 CERN for the benefit of the LHCb and ATLAS collaborations *
3 * *
4 * This software is distributed under the terms of the Apache version 2 licence, *
5 * copied verbatim in the file "LICENSE". *
6 * *
7 * In applying this licence, CERN does not waive the privileges and immunities *
8 * granted to it by virtue of its status as an Intergovernmental Organization *
9 * or submit itself to any jurisdiction. *
10 \***********************************************************************************/
11 #pragma once
12 
13 #include <GaudiKernel/ClassID.h>
14 #include <GaudiKernel/Kernel.h>
15 #include <string>
16 
17 class IRegistry;
18 
29 public:
30  virtual ~IOpaqueAddress() = default;
31 
33  virtual unsigned long addRef() = 0;
35  virtual unsigned long release() = 0;
37  virtual const CLID& clID() const = 0;
39  virtual long svcType() const = 0;
41  virtual IRegistry* registry() const = 0;
43  virtual void setRegistry( IRegistry* r ) = 0;
45  virtual const std::string* par() const = 0;
47  virtual const unsigned long* ipar() const = 0;
48 };
IOpaqueAddress::par
virtual const std::string * par() const =0
Retrieve String parameters.
IOpaqueAddress::addRef
virtual unsigned long addRef()=0
Add reference to object.
IOpaqueAddress
Definition: IOpaqueAddress.h:28
IOpaqueAddress::svcType
virtual long svcType() const =0
Retrieve service type.
ClassID.h
IOpaqueAddress::release
virtual unsigned long release()=0
release reference to object
IRegistry
Definition: IRegistry.h:29
IOpaqueAddress::~IOpaqueAddress
virtual ~IOpaqueAddress()=default
IOpaqueAddress::clID
virtual const CLID & clID() const =0
Retrieve class information from link.
CLID
unsigned int CLID
Class ID definition.
Definition: ClassID.h:16
IOpaqueAddress::registry
virtual IRegistry * registry() const =0
Update branch name.
IOpaqueAddress::setRegistry
virtual void setRegistry(IRegistry *r)=0
Update directory pointer.
Kernel.h
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:49
IOpaqueAddress::ipar
virtual const unsigned long * ipar() const =0
Access to generic link parameters.