The Gaudi Framework  master (37c0b60a)
IOpaqueAddress.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2024 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 #ifndef GAUDIKERNEL_IOPAQUEADDRESS_H
12 #define GAUDIKERNEL_IOPAQUEADDRESS_H
13 
14 // STL include files
15 #include <string>
16 
17 // Experiment specific include files
18 #include <GaudiKernel/ClassID.h>
19 #include <GaudiKernel/Kernel.h>
20 
21 // forward declarations
22 class IRegistry;
23 
34 public:
36  virtual ~IOpaqueAddress() = default;
37 
39  virtual unsigned long addRef() = 0;
41  virtual unsigned long release() = 0;
43  virtual const CLID& clID() const = 0;
45  virtual long svcType() const = 0;
47  virtual IRegistry* registry() const = 0;
49  virtual void setRegistry( IRegistry* r ) = 0;
51  virtual const std::string* par() const = 0;
53  virtual const unsigned long* ipar() const = 0;
54 };
55 #endif // GAUDIKERNEL_IOPAQUEADDRESS_H
std::string
STL class.
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:33
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:32
IOpaqueAddress::~IOpaqueAddress
virtual ~IOpaqueAddress()=default
destructor
IOpaqueAddress::clID
virtual const CLID & clID() const =0
Retrieve class information from link.
CLID
unsigned int CLID
Class ID definition.
Definition: ClassID.h:18
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:81
IOpaqueAddress::ipar
virtual const unsigned long * ipar() const =0
Access to generic link parameters.